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

(cherry picked from commit ea62a4bd54421693ed6b24a1bbd18ebed3bdb8f8)

Co-authored-by: Benjamin Peterson <benjamin@python.org>
1 file changed