BUG: PyArray_PyIntAsIntp had variable size check wrong way around.

This bug resulted in using a long type when a long long was required,
resulting in numerous errors when numpy was compiled as 64 bits on
64 bit windows.
Merge pull request #3678 from charris/fix-wrong-variable-type

BUG: PyArray_PyIntAsIntp had variable size check wrong way around.