java: Field access flag cleanup

Signed-off-by: Pekka Enberg <penberg@iki.fi>