fix nothrow issues

- revealed by enabling nothrow checks in functions
  with inline asm
Please add the bugzilla number 13561 in the comment.