posix: pthread_setspecific: fix for coverity issue cid 334906

* return EINVAL if pthread_self() is not a valid pthread

Signed-off-by: Christopher Friedt <cfriedt@meta.com>
1 file changed