Stabilization of a dynamically unstable opto-thermo-mechanical oscillator