[settings_helper.py] Import abstract base classes directly.
[settings_helper.py] Import abstract base classes directly.

Using abstract base classes from `collections` has been deprecated,
and the ability to do so at all is removed in Python 3.9.

deepmind/lab2d,deepmind/lab2d,deepmind/lab2d