virtio-input: convert VMSTATE_VIRTIO_DEVICE