[PATCH 5.12 174/296] char: hpet: add checks after calling ioremap