mediatek: cleanly backport and add fix for I2C driver