java/jni: Add JNI_RegisterNatives stub

Called during early boostrap. Needed for FFI to limp along.

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