[PATCH 5.7 42/79] i2c: slave: improve sanity check when registering