Remove old style CGI runtime substitutions

This fixes tests affected by the changes in mapserver/mapserver#4608.