BUG: Fix UFUNC_CHECK_STATUS to work on both 32 and 64 bit Windows.

Patch is due to Christolph Gohlke.