On visit to New Zealand mosque, U.N. chief vows to combat growing hate speech