codec_resample: Ensure OUTSIDE_SPEEX is defined when necessary