wined3d: Fetch currently active texture unit from the wined3d_context.