doc: add workaround for doxygen 1.9.6 bug with cairo >= 1.17.6
Add a workaround to fix rendering the dot files with doxygen 1.9.6 and cairo 1.17.8 on Fedora 38.
This is fixed upstream in doxygen 1.9.7, for details see: https://github.com/doxygen/doxygen/issues/9319