macho: sanitize Zig sections segment names before emitting a relocatable

As reported by jacobly, the Apple system linker matches sections to
segments by name and not by flags causing Zig's executable section
ending up in a segment with incorrect permission flags.
a1b607acb5Jakub Konka committed on 2/4/2024, 5:05:38 PMparent3c7970d
1 file changedLine totals unavailable