avfilter/graphdump: Fix pointer to local outside scope