[Sanitizer] Move OS-specific code for MemoryMappingLayout into separate source files.