Add sanity checks for NIFTI dimensions.
Ignore NIFTI-only header fields if header is Analyze 7.5.