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