mem.py: fix SIGBUS when accessing file mapped by mmap_syscall