Brisbane's mayor has shut down homeless camps across the city with rough sleepers given 24 hours to move on.