viewer: call XInitThreads
viewer: call XInitThreads

I'm not sure it is a requirement, but gstreamer exmaples seem to call
it.

AravisProject/aravis,AravisProject/aravis,AravisProject/aravis,AravisProject/aravis,AravisProject/aravis