As heating a thick fluid decreases its viscosity, it reduces losses occurring in a pipe. Therefore, the net positive suction head (pressure difference) available can be raised, decreasing the likelihood of cavitation when pumping.  However, care must be taken not to increase the vapour pressure of the fluid too much, as this would have a strong side effect on the available  head, possibly outweighing any benefit.