Mode degeneracies and the petermann excess-noise factor for unstable lasers