On the roughening transition in abelian lattice gauge theories