Energy-localization-enhanced ground-state cooling of a mechanical resonator from room temperature in optomechanics using a gain cavity