[ahrs] int_cmpl_quat: precompute some gains for efficiency