Do mmap at the safesysmalloc level

The previous commit’s approach was on the right track, but still didn’t
work, since some code does SvPV_set with buffers it allocates on its own
via safemalloc().