wined3d: Avoid surface_from_resource() in surface_load_ds_location().