[PATCH 5.4 24/37] i2c: validate user data in compat ioctl