Added a static_assert in timer.h to detect phantom accesses to comparator C registers