Move Dsymbol::mangle into a visitor class
Merge pull request #3279 from yebblies/mangle

[DDMD] [refactor] Move Dsymbol::mangle into a visitor class
fix Issue 12217 - Unstable instance mangled name of function local template