i2c-algo-bit: Add pre- and post-xfer hooks