Graphviz: add missing support for circular dependencies
This support was actually added by removing a superfluous check that was too eager in cmLinkItemGraphVisitor.cxx.
Extended the existing Graphviz tests to include this particular case, and re-generated the expected output files.
Fixes: #20720