Fixed #23616 - added GenericRel.get_related_field()

Added get_related_field() to GenericRel in order to avoid AttributeError at BaseModelAdmin.lookup_allowed()
use same indent style as previous item