Throw a mitk::AccessByItkException object if AccessByItk fails.
Instead of using assert (which usually calls abort() and terminates the
program), this exceptions is now thrown consistently in case of a
mismatch in the pixel type or dimension of mitk::Image.