Mark std.string.stripRight as @safe and pure
Merge pull request #1508 from tom-tan/safe-pure-string-stripRight

Mark std.string.stripRight as @safe and pure