The three-body correlation function in amorphous silicon probed by X-ray absorption spectroscopy