Make the constructor of std.string.StringException @safe and pure
Merge pull request #1481 from tom-tan/safe-string-StringException

Make the constructor of std.string.StringException @safe and pure