timekeeping: Add checks to cap clocksource reads to the 'max_cycles' value