java_gen: small convenience fix to VlanVid (use int)

Reviewer: trivial