graph2dot: use avfilter_pad_get_name accessor function