New Zealand shooter planned to attack third mosque