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