[x86] Cleanup HPET initialization functions

Signed-off-by: Anup Patel <anup@brainfault.org>