wined3d: Use the core glColorMaski function.