Next-to-leading corrections to the Higgs boson transverse momentum spectrum in gluon fusion