thermal: Introduce dummy functions when thermal is not defined