[i2c] silence some warnings if I2C not used
[i2c] use #if USE_I2Cx instead of #ifdef