wined3d: Pass a format to wined3d_texture_upload_data().