Restore the FPU mode in an error path