[DDMD] Work around multiple-static-variable bug in dmd by renaming the arrays
Add array-less overload of genCfunc to avoid array mangling issues