Support LLVM 10 in GC checker (#37153)
Ref https://github.com/llvm/llvm-project/commit/2f169e7cdd9973d2aa4cba6b0a09126a5e7268ec
Ref https://github.com/llvm/llvm-project/commit/6b85f8e99b38aed5bb4eeb4ca8d7ccdd5a1bf48c
Also handle noreturn function call in GC frame counting,
and remove some old code for LLVM <= 7