macho: fix reloc generation for stubs and GOT entries
macho: fix reloc generation for stubs and GOT entries

The current approach is somewhat hacky, however, works well for
one-off self-hosted linking.

zig-lang/zig,andrewrk/zig,zig-lang/zig,andrewrk/zig,zig-lang/zig