[PATCH 5.4 101/389] i2c: Fix a potential use after free