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