[PATCH V2 1/2] clockevents: Add helpers to verify state of a clockevent device