hpet: Fix division by zero in hpet_time_div()