i2c-raspberry: added automatic retry when an I2C operation fails