[ahrs] fix compilation of ahrs_infrared