vhost: fix potential use-after-free for memory region