The mermaid formatters draw filter graphs and need the diagram
configuration that only graphprint provides, so selecting them with
-of made ffprobe dereference a NULL configuration while printing the
root section.
Fixes: NULL pointer dereference
Fixes: sgcKd3ZT8oua
Found-by: Zheng Yu @ Depthfirst