[PATCH 3/6] wined3d: Use the resource access flags in wined3d_resource_set_priority().