Move Dsymbol::toSymbol into a visitor class
Merge pull request #3323 from yebblies/dstosymbol

[DDMD] [refactor] Move Dsymbol::toSymbol into a visitor class