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