tests: add test-010: creating and destroying device from different threads
keep context longer for calling vaDestroySurfaceGLX in softVdpVideoSurfaceDestroy
wrap glx_context_destroy_glc_hash_table by mutex
make X Display handle copy management reference-based
reset gl context before destroying in softVdpDeviceDestroy
call XInitThreads on library load
include thread id in trace output