hidpp10: fix a coverity warning about OOB access
hidpp10: fix a coverity warning about OOB access

Make sure that the index we pass into long_clear_bit is never higher than the
number of bits in the single long we use as array here.

Signed-off-by: Peter Hutterer <b9c50af7afa7642f6f854434cda9ffe54ece8b85@who-t.net>

whot/libratbag,libratbag/libratbag,libratbag/libratbag,whot/libratbag,whot/libratbag,libratbag/libratbag