java_gen: fix alignment on read of messages that are internally aligned

I.e., if the alignment is contained in the length field