Fixed bug which occurred in test_convelemwise_tanh

When the pool shape is equal to the pool stride, theano's max pooling algorithm is called instead of pylearn2's one.