thermal: imx: fix calculation