java_gen: bump version to 0.3.4

Reviewer: trivial

The recent API correction breaks an existing use in bvs, so need to
bump the version.