[x86] Fix bug when getting a signal while throwing exception.
Merge pull request #769 from schani/fix-exception-throw-signal

[x86] Fix bug when getting a signal while throwing exception.