HAL_Linux: fixed a build warning
HAL_Linux: fixed I2C driver build errors
AP_InertialSensor: fixed build errors for LSM9DSO