macho: do not preempt segment headers; do it when commiting to file

This way, tracking segment-to-section mapping becomes a lot easier
since it's effectively just start index plus number of sections
defined within the segment. If a section becomes empty however
care needs to be taken to remove the header upon committing to the
final binary.
90e3268270Jakub Konka committed on 8/3/2022, 7:19:41 PMparent421d3e8
3 files changedLine totals unavailable