X-ray spectroscopic study of the electronic structure of CuCrO2