Add SBI timer implementation and rework interrupts handling.
This is needed for EIC7700 which does not have SSTC extension supported.
Add new "interrupts_pending" field. Use it for timer interrupt only for now, but later we can extend to store all pending interrupts (IPI and External).