ELF: Make checkCompatibility a non-member function.

Because the function does not use any member of SymbolTable class.

llvm-svn: 255849
2 files changed