tckmap: Fix -contrast scalar_map with 4D image

Another case of those pesky 3D images that are actually 4D with dim(3)=1.