Allow setting units of the z dimension in IceModelVec3Custom.

This should be ported to 0.6.