Hundreds of students have been moved to a safe location after a bomb threat sparked an emergency evacuation at a school in Queensland.