magfit_rotation_gyro: cope with AHRS_ORIENTATION and COMPASS_ORIENT