libavfilter: Support the forks ABI for buffer sinks