Revert "Fix exposing version strings to SWIG mapscript"

This reverts commit 003c64f791bb4d0706cd1019672f5823ab9e3af1.