Move mmap's #ifdef out of the functions to improve readability.
remove executable bit on safestack.cc