[ruby-core:114239] [Ruby master Feature#19775] Use the callback `main::const_added`