Android: Fix JNI type convertations