Fixed #18681 -- GenericInlineModelAdmin.get_formset() no longer bypass get_fieldsets().

Refs 23e1b59 which already fixed this issue for BaseModelAdmin and InlineModelAdmin.
Introduced BaseModelAdmin.get_fields() and refactored get_fieldsets() to used it.

Refs #18681.