Use a JNI version of mmap, munmap and msync