Clean up the code which handles prepending _ to global symbol names on MACH by doing it in aot-compiler.c instead of the image writer.