Use renamed `cork_current_thread_get_id`

The name of the function changed on us!