meson: Don't always assume PThreads when using threads
Hi,
From the commit message:
The libxml2 code has support for Windows threads as well, so use these instead on Windows when building threads support
This avoids depending on PThreads accidentally, which is supported by a separate emulation library on Windows.
With blessings, thank you!