[PATCH 5.4 097/177] char: hpet: add checks after calling ioremap