First-Principles Study of Defects in CuGaO2