wined3d: Make ActivateContext a bit smaller.