Fix warnings introduced by I2C bus speed setting patch