darwin_thread: don't use 0 as a thread_affinity_policy

Increment `core_idx` by one since it's zero-based and thread_affinity_policy
considers a zero value to mean "no affinity."