Implement Target::mangle for target-specific C++ mangling.