New Zealand mosque gunman to represent himself in court