Fix return value handling of mmap() and mremap()

Patch courtesy of Massimiliano Ghilardi.

(Discussion at <http://thread.gmane.org/gmane.lisp.osicat.devel/78>)