Don't include external include dirts in the unused function check.

Fix broken CPPChecksAllInternalHeadersOnGlobalUnusedCheck test
and related functionality.
Merge pull request #40 from smspillaz/common-universal-cmake.item_39

Don't include external include dirs in the unused function check.