The VLT-FLAMES Tarantula Survey: XXV. Surface nitrogen abundances of O-type giants and supergiants (Astronomy and Astrophysics, 2017)