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