Corrected error in handling error messages in ijkgrid_nrrd.txx.