Alexandre Julliard : server: Avoid crash in set_thread_desktop if the thread doesn't have a queue.