The st_insert in RCLASS_SET_NAMESPACE_CLASSEXT may overwrite an existing rb_classext_t, causing it to leak memory. This commit changes it to use st_update to free the existing one before overwriting it.
cause:
Thread#raise
Fiber#raise
set_table->bins
set_table->entries
rb_gc_mark_and_move
rb_gc_location