When a variable main item has more than MAXLOCCNT usages, the parser
returns only MAXLOCCNT of them and never advances the position past
the rest. Every later field in the report is placed too early and
hid_report_size() under-reports the report length.
On multitouch touchpads with large vendor reports this gives wrong
contact and button data when the fields share that report, and short
report buffers, so usbhid(4) and hidraw(4) truncate those reports.
PR: 300050
MFC after: 3 days