[ruby-core:116229] [Ruby master Bug#20189] `rb_str_resize` does not clear coderange when expanding