fix pthread_getspecific return not NULL in some system even argument is null