C,CC: fix endless walker recursion in walk_syms

walk_syms only if not already dumped