Modulation of coherent phonon emission properties in optomechanical cavities by photothermal excitation