Stability of single-mode self-excited oscillations in a gyromonotron