generalizing callgraph node gather, crosscratemap item gets nodekind