[1.7.x] Fixed #22982 -- Added GenericRelatedObjectManager.__str__. to prevent crash.

Thanks bendavis78 for the report.