Fix compilation errors in Tasking compiler
Terminate 4signals test when run from the test suite
Fix condition in TriCore event loop

Thanks to Ondřej Kulatý for discovering this.