[PATCH HID v3 6/9] selftests/hid: cleanup C tests by adding a common struct uhid_device