[PATCH 5.12 271/292] thermal/drivers/rcar_gen3_thermal: Fix coefficient calculations