(Android JNI) Set endianness