fix invalid implicit pointer conversion in pthread_key_create