Implement forwarding target for the Apple runtime.

Only on x86_64 so far, others to follow.