Text this: Measurement of the Berry curvature of solids using high-harmonic spectroscopy