wined3d: Make sure to set the color key when it is needed including for index_in_alpha.