Effects of heat transport on the transition temperature of mercury doped cuprate superconductors