stage2: decouple codegen.zig from ELF

See #6113 for an alternate way of doing this that we didn't end up
following.

Closes #6079.

I also took the opportunity here to extract C.zig and Elf.zig from
link.zig.
89b6c47e04Andrew Kelley committed on 8/21/2020, 8:25:59 PMparent37ad9f3
8 files changedLine totals unavailable