AP_InertialSensor: use fixed size arrays

apparently helps SITL build on MacOS