[PATCH AUTOSEL 5.5 496/542] char: hpet: Fix out-of-bounds read bug