macho: correctly lower slices incl reloc and rebase tracking

Match changes required to `Elf` linker, which enable lowering
of const slices on `MachO` targets.

Expand `Mir` instructions requiring the knowledge of the containing
atom - pass the symbol index into the linker's table from codegen
via mir to emitter, to then utilise it in the linker.
066758b1a2Jakub Konka committed on 2/11/2022, 11:16:32 AMparentb9b1ab0
9 files changedLine totals unavailable