fix nothrow issues

- revealed by enabling nothrow checks in functions
  with inline asm
Merge pull request #974 from MartinNowak/nothrowIssues

fix nothrow issues