Mock matplotlib from Sphinx builds

Allow the Sphinx documentation to build even it matplotlib is not
installed.