Fix a type (MAX_PATH instead of PATH_MAX) and remove an unused variable.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@223559 91177308-0d34-0410-b5e6-96231b3b80d8
Now that we get types from modules, we occasionally
encounter clang::ExternalASTSources that are not instances
of ClangExternalASTSourceCommon.  We used to blithely
assume that all are, and so we could use static_cast<>.
That's no longer the case, so we have to have these AST
sources register themselves.


git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@223560 91177308-0d34-0410-b5e6-96231b3b80d8