Fixed type in darwin thread_get_state()