winpthreads: simplify the handle validity in pthread_check()

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