[PATCH 5.15 264/779] i2c: Fix a potential use after free