stm32f3discovery_imu_driver: added gyro support, which required updating libopencm3 and lots of small changes elsewhere