High winds batter NSW, flights cancelled