java/translator: Switch statement basic block splitting

Make the translator decode tableswitch and lookupswitch branch targets
and split basic blocks accordingly.

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