std.string: Replace local extern-C declarations with imports
Merge pull request #2491 from CyberShadow/std-string-nogc

std.string: Decorate Windows-only extern C declarations