[DDMD] Add some more const (mostly mars.c)

Most of this is straightforward, the exceptions being adding `(char **)` casts when calling `strtol` (limitation of strtol due to C not having overloading) and duplicating filenames when they need to have `/` converted to `\`.

First of many towards cooperating with D's stricter typechecking for string literals.