[PATCH 4.14 062/229] i2c: Fix a potential use after free