tblgen: Use appropriate LLVM-style RTTI functions.