[PATCH 6/7] winex11: Set thread data XIM pointer outside of open_xim.