Work around Py2.6's lack of ctypes.c_ssize_t