virtio: fix crash when releasing null queue