Reduced code duplication in vq.c by adding mix_pitch_and_residual() which