Dephasing by optical phonons in GaN defect single-photon emitters