Implement mmap with MAP_PRIVATE and MAP_ANONYMOUS flags