[PATCH 3/3] wined3d: Make a couple of variables const.