Fix -Wstrict-prototypes warning in thread_pthread.h. (GH-21477)

1 file changed