Fix mmap error check in 1.4.

Hello,

I'm not sure what the policy is for 1.4 but I noticed that the mmap call can fail and the check on the return code didn't work causing uwsgi to segfault. I know this is all fixed in 2.x but I thought it would be good to fix it in 1.4.

Derrick