virtio-input: fix segfault in virtio_input_hid_properties