Fix For CheckTypeReferencesPass

Fix for https://github.com/mono/CppSharp/issues/6.

CheckTypeReferencesPass was not skipping ignored source files causing it to process headers that were not able to be wrapped.