Make mmap r+w only during preload for iOS.