MFC r315530:
Remove unreferenced global function imx_gpt_get_timerfreq() and do some cleanups enabled by that.