Updates for MapServer 7

Linked to https://github.com/camptocamp/c2cgeoportal/pull/932