Make Theano (or at least DenseDesignMatrix) work with numpy.memmap arrays

The numpy.memmap array is a subclass of numpy.ndarray. The assert
prevents DenseDesignMatrix from working with a numpy.memmap array.
Making said assert less specific makes it work.