Unify the generic timer implementation for ARMv7 and ARMv8. Ref #3445
Restriction: enables only cpu core 0 and the timer interrupt by now. Fix #3405