java/translator: OPC_ldc float and double values

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