Check config.h usage in doc-check

Make the doc-check target check that config.h is included if and only if
it is needed by the source file.  Add suppressions for locations where
this is currently not the case.

Change-Id: I6110e9887d4df3c4644f20003faa3120ea9048ea