Treatment of grazing-incidence small-angle X-ray scattering data taken above the critical angle