Feed proper value to strerror after pthread_create failure