clocksource: Simplify the logic around clocksource wrapping safety margins