Effects of defects on the electronic structure of ion-irradiated graphite