thermal: rcar_thermal: avoid NULL dereference in absence of IRQ resources