[ActiveSupport core_ext] Allow to use `attr_internal` with `private` modifier

This was available as attr_protected but not anymore.

If the return value of attr_internal was the list of created methods, one could write

class Foo
  private *(attr_internal :bar, :baz)
end

Even if it’s not for that case, knowing what methods were added by attr_internal would be very nice.

The changes to achieve that can be seen at https://github.com/rewritten/rails/pull/1