Revert "compiler.cfg.ssa.construction.tdmsc: pass visited set on stack."

This reverts commit ec2834300b8f9c13d0dabc596da40014eb736e8f.