[mach-o] Add support for initializers and terminators in object files