Fix code to compile with new kernel 6.1 headers. am: acae70240d

Original change: https://android-review.googlesource.com/c/platform/external/rmi4utils/+/2343406

Change-Id: Ibd659468c7f4f693d2dfee45550763b8ec1be3df
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>