refactor HAL driver of systimer to a common systimer_hal Closes IDF-2996 See merge request espressif/esp-idf!13027