More than 200 students had to be evacuated from two accommodation blocks at a north Queensland university after a fire broke out.