[PATCH openEuler-5.10 31/47] i2c: validate user data in compat ioctl