std.string: Fix redundant UTF decoding in chomp
Merge pull request #1850 from CyberShadow/std-string-chomp

std.string: Fix redundant UTF decoding in chomp