common: Move get_tbclk() to time.h