std.string: Replace local extern-C declarations with imports