[x86] Clear the fp stack when exceptions are thrown. Fixes #45841. (#3814)