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