Perturbative gluon resummation of the top-quark production cross section