Make our JIT debugging aids work properly on M1 Macs

Both dylib and the disassembler would end up creating a dynamic library
that was flagged as x64, even though the code was ARM64. This made the
disassembler output nonsensical, and made the loader fail with --dylib,
so that the JIT was effectively disabled. Now both features work.

Change-Id: Idbfbebdcc792175ccc040b819fe7f6ba9252e178
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/561838
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Auto-Submit: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Reviewed-by: Herb Derby <herb@google.com>
Commit-Queue: Herb Derby <herb@google.com>
1 file changed