os2threads: Add pthread_once()