[PATCH 4.19 306/425] i2c: bail out early when RDWR parameters are wrong