Fix endian transformations in NRRD