wined3d: Only call activate_dimensions() if the texture is used.