graph2dot: Fix use of deprecated API
graph2dot: Add missing #include for av_get_channel_layout_string()
avfilter/buffer: Suppress deprecation warning for avfilter_unref_buffer

The function is used in a block of code that is deprecated anyway.