wined3d: Use the texture dimension helpers in surface_load_ds_location().