thermal: rockchip: fix handling of invalid readings