[mach-o] Fix two-level namespace ordinals

On darwin, the linker tools records which dylib (DSO) each undefined was found
in, and then at runtime, the loader (dyld) only looks in that one specific
dylib for each undefined symbol.  Now that llvm-objdump can display that info
I can write test cases.

git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@217898 91177308-0d34-0410-b5e6-96231b3b80d8