fixup "pthread: support pthread_key_delete"

Issue #1296