Australian police have charged a teenage boy for allegedly making threats on social media that led to Sydney's iconic Opera House being evacuated last week in a security scare.