One-loop calculation of the three-gluon vertex in the light-cone gauge