[PATCH 4.19 184/247] Input: joydev - prevent potential read overflow in ioctl