[PATCH 2/5] wined3d: Separate a resource_offset_map_pointer() helper.