[PATCH openEuler-1.0-LTS 1/2] Input: joydev - prevent potential read overflow in ioctl