[PATCH openEuler-1.0-LTS 1/1] i2c: validate user data in compat ioctl