libavdevice/lavfi: check avfilter_graph_dump return value