[PATCH 5.11 581/775] Input: joydev - prevent potential read overflow in ioctl