[PATCH 5.10 176/545] i2c: Fix a potential use after free