vscclient: use glib thread primitives not qemu
vscclient: use glib thread primitives not qemu

Use glib-provided thread primitives in vscclient instead of
qemu ones, and do not use qemu sockets in there (open-code
call to WSAStartup() for windows to initialize things).

This way, vscclient becomes more stand-alone, independent on
qemu internals.

Signed-off-by: Michael Tokarev <389bd06664b699d49ce291f515b98373073ad5f4@tls.msk.ru>
Reviewed-by: Alon Levy <816c907b754fa7b5d4bb5eb91e0fc01e5510e64d@redhat.com>
Tested-by: Alon Levy <816c907b754fa7b5d4bb5eb91e0fc01e5510e64d@redhat.com>
Signed-off-by: Paolo Bonzini <69d3ebcf5ee4e7f05a50dc23cd96655b730804b4@redhat.com>

SPICE/libcacard,SPICE/libcacard,elmarco/libcacard,elmarco/libcacard