I2c-compass.cpp: fix example to use char instead of uint8_t

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
spi: update spi module to use char instead of unsigned char as return values

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