add units as a mandatory dimension metadata

mapserver/mapserver#4787