The influence of the inner shear layer on the suppression of the global mode in heated swirling jets