[PATCH 4.14 023/228] i2c: slave: add sanity check when unregistering