[MRG] FIX: potential segfault on non-contiguous memmap instances

Fix for #116. See the commit message of cce62de for details.