Manually save and restore the FPU rounding mode on Windows