Fix several MS compiler warnings.

This fixes several compiler warnings under Windows using Visual Studio.  Two of three are due to long being only 32 bits under Windows.  Here's the reasoning for each change.

MemoryView.pyx line 113: Cython converts the len(shape) call into PyTuple_GET_SIZE, which returns Py_ssize_t, while ndim is declared as an int.  Alternatively, the type of ndim could be changed, but that seems unnecessary.

MemoryView.pyx line 873: This function is called from line 357.  The dim variable is the index from the Python enumerate iterator, which Cython types as a Py_ssize_t.

MemoryView_C.c line 583: The shape field of __Pyx_memviewslice is declared as Py_ssize_t.