Make munmap() more flexible per POSIX spec.