A user of the Memory::allocateMappedMemory interface
can allocate memory and request additional permission
bits in future. This breaks PaX MPROTECT model on NetBSD,
as these bits have to be reserved with PROT_MPROTECT().
This has been caught by unittests/Support/MemoryTest
and EnabledWrite tests.
This patch fixes these failures and does not introduce
regressions.
Sponsored by <The NetBSD Foundation>