docs: conf.py: fix trick for mocking-out C-libs for sphinx-autodoc.