codecs/speex: add checks in speex_resampler_init_frac/set_rate_frac.