stmhal: Add I2C functions for pure master read/write.