Use mmap/munmap only is _POSIX_MAPPED_FILES is defined.