macho: fix LLVM codepaths in self-hosted linker

* do not add linkage scope to aliased exported symbols - this is
  not respected on macOS
* special-case `MachO.openPath` in `link.File.openPath` as on macOS
  we always link with zld
* redirect to `MachO.flushObject` when linking relocatable objects
  in MachO linker whereas move the entire linking logic into
  `MachO.flushModule`
372e9709adJakub Konka committed on 10/19/2021, 6:39:42 PMparent2d7b55a
3 files changedLine totals unavailable