Fixes r4 corruption in schdule_irq while gcc "-O0"

Fixes #31
Merge pull request #35 from arcbbb/master

fixes issue #31