timekeeping: Cap array access in timekeeping_debug