wined3d: Pass a texture and sub-resource index to wined3d_surface_upload_data().