[PATCH 5.15 370/484] clocksource/drivers/sh_cmt: Address race condition for clock events