Fix HID descriptor mouse and joystick macros for integer multiples of 8 buttons.