Introduce avio_dump_contents() and use it in lavd/lavfi.c

This is a replacement for previously proposed API
av_bprint_fd_contents().
Side-effect: lavfi input device now accepts any URL as "graph_file"
option value.