The structure of ergodic measures for compact group extensions