Agilefox: adoption for new hwtimer implementation for stm32f103rey6

* adept to new hwtimer impementation
* fixes warnings