resampler: Add a warning when using peaks for upsampling.
resampler: Simplify the resample_method_supported() function.