Merge "Fix valgrind errors with MemMap::Sync()."