thermal: solve compilation errors in rcar_thermal