This update mappings in the JNI functions to better support 64-bit integers, and adds support for 64-bit float arrays. The code is mostly reused from 32-bit types.