swresample/resample: do not assert compensation_distance on rebuild_filter