avfiltergraph: make the AVFilterInOut alloc/free API public