[ruby-core:120934] [Ruby master Bug#20919] IO#seek and IO#pos= do not clear the character buffer in some cases while transcoding