Modal instability suppression in a high-average-power and high-finesse Fabry–Perot cavity