convert dimensions to double

Convert integer dimensions read in `.readAnalyzeHdr` to double to
avoid integer overflows in vector allocations in `.readAnalyzeIntensity`.
Thanks to Ken Frankel <kafrankel@gmail.com> for reporting this problem.