[PATCH v3 1/3] winex11.drv: Preserve last error in x11drv_thread_data().