BUG: fix windows fpu flag check for mixed x87 and sse instructions

windows enables sse intrinsics also on 32 bit by default so we need to
check both the x87 and sse fpu flags.
closes #3680
BUG: Fix UFUNC_CHECK_STATUS to work on both 32 and 64 bit Windows.

Patch is due to Christolph Gohlke.
Merge pull request #3692 from charris/backport-1.8-3691

Backport 1.8 3691