MS ABI: Make the string mangling code more concise

No functional change intended.