Fixed #23795 -- Fixed a regression in custom form fields

Custom form fields having a `queryset` attribute but no
`limit_choices_to` could no longer be used in ModelForms.

Refs #2445.

Thanks to @artscoop for the report.
It's required, yes but you're right that `get_limit_choices_to` is better. I made the change and forced-push.