llvm: ensure SYM_NODE is stripped before accessing the return type