Support the old mmap syscall.