unique_ptrify the result of CFG::buildCFG/CFGBuilder::buildCFG