Fix warnings in vtkImageMutualInformation compilation.
Use only the first component when registering images.
If reader can't read file, exit instead of segfaulting.