thread: Provide no-op variants for pthread_once