avresample/resample: remove unused variable