One-loop analytic computation of the energy-momentum tensor for lattice gauge theories