[ruby-core:116909] [Ruby master Feature#20293] Add `Warning.categories` method that returns the warning category names