drivers: thermal: fix bricked with vanir rom

Signed-off-by: Dan Trifan <jimsth@gmail.com>