Resolve PR ld/16569 by emitting (and comparing) unmangled names, unless
demangling has specifically been requested.