d3d8: Replace wined3d_surface_get_resource with wined3d_texture_get_sub_resource...