Renormalization of an abelian gauge theory in stochastic quantization