Fix 64 bit compatibility on Windows

Use `Py_ssize_t` (64 bit on win-amd64) instead of `C long` (32 bit on win-amd64) to handle `pointers` (64 bit on win-amd64).
Merge pull request #2107 from cgohlke/patch-1

Fix 64 bit compatibility on Windows