Fix issues in TCling::IsLoaded()

Use HeaderSearch::LookupFile() instead of Preprocessor::LookupFile(), which requires a proper lexer to be set, and crashes when it is not the case