[PATCH 4.14 31/92] x86/hpet: Prevent potential NULL pointer dereference