Sydney to be spared worst of giant heat wave