swr: initialize only the necessary resample dsp functions