audio: clamp resampler interpolation values to prevent buffer overflow. Partially fixes Bugzilla #3848.