Make gtk-doc optional also in autogen.sh

configure already correctly auto-detects the presence of
gtk-doc, so allow it to not be present in autogen.sh also.
This is practical for building in very sparse environment like Heroku,
where pulling in gtk-doc requires building many more dependencies.