DownsampleFactorMax support strides: issue #2196

Oh, I had not seen that it was used on 4D tensors during tests, so it is OK to use [-2] and [-1], just define `img_rows` and `img_cols` at the beginning.