[NUCLEO_F103RB] Correction on I2C gpio configuration
[NUCLEO_L152RE] Correction on I2C gpio configuration + code cleanup