Henri Verbeet : wined3d: Make some internal stateblock function arguments const.