Fix Issue 10058 - Inconsistent mangling between C++ and extern(C++).

Fixes http://d.puremagic.com/issues/show_bug.cgi?id=10058

Though maybe the other implementations of ::toCppMangle should be altered to have the same logic as the change here?

Currently it's a half/half situation.