Homoclinic phenomena in opto-thermal bistability with localized absorption