macho: fix incorrect segment/section growth calculation

Otherwise, for last sections in segments it could happen we would
not expand the segment when actually required thus exceeding the
segment's size and causing data clobbering and dyld runtime errors.
affd8f8b59Jakub Konka committed on 9/21/2021, 6:22:52 PMparenta2dd0c3
7 files changedLine totals unavailable