Starting with LLVM 17, having non-private labels between `.cfi_startproc`/`.cfi_endproc` triggers "invalid CFI advance_loc expression" errors when targeting Mach-O.
Use local labels instead, and store the pointer in `.data` so it can be read by `handle_syscall_trap()`.
Based on a patch by Jacek Caban.