MS ABI: Simplify mangleTemplateArgs

No functionality change.