[PATCH 5.4 139/149] thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations