resample: fix avresample_get_delay() return value