Fix overflowing test on Windows

The test assumed incorrectly that Python’s sys.maxsize is the size of
the C long type.  In particular, this is not true on 64 bit Windows.
3 jobs for master in 7 minutes and 15 seconds (queued for 1 second)