[PATCH 6.7 041/641] drivers/thermal/loongson2_thermal: Fix incorrect PTR_ERR() judgment