[DDMD] Add stc-less version of genCfunc to avoid mangling issue on OSX

No stc used in functions called across the language boundary = no issues with mangling.