winpthreads: always return 0 in pthread_check() if the thread ended is 0

The code does the same but in a cleaner way, making room for the next patch.

Signed-off-by: Liu Hao <lh_mouse@126.com>
1 file changed