Revert "define ISR inside header files" because otherwise the linker is not aware of the ISR definitions

This reverts commit e4c4aa5640f2a5ca3f53bb3dc4084dd8c964cc15.