Restore FPU state. Code from kkojima.