fix Issue 13289 - wchar and dchar C++ mangling is incorrect