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