Allow discontiguous out arrays in `skimage.morphology.grey`

Fixes #1216.
To preserve the "reference" to the `out` ndarray, while making sure that it is contiguous (which is optimal for calculation speed).