avfilter/avfiltergraph: remove ugly dead code