[PATCH 5.10 144/252] char: hpet: add checks after calling ioremap