i2c: mraa_i2c_frequency now returns correct returns

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>