macho: assign and cache section ordinals upon creation

then, when sorting sections within segments, clear and redo the
ordinals since we re-apply them to symbols anyway. It is vital
to have the ordinals consistent with parsing and resolving relocs
however.
a4feb97cdfJakub Konka committed on 7/22/2021, 9:13:13 PMparent4fd0cb7
3 files changedLine totals unavailable