Add ability to change memory protection on std::os::MemoryMap.