VM: add "vm_mmap()" helper function