graphviz: add $PYTHON_PREFIX/lib to linker search path

Make sure the active python framework's
lib directory is in the linker search path.

Fixes #32180.