pthread-win32: fixed compilation error on some MinGW variants.