Currently the function `checkers.utils.is_subclass_of()` is raising a
`NoneType object has no attribute name` exception when only one of the
arguments (nodes) is `None`.
This change fix that updating the function to make sure all params are
an instance of `astroid.ClassDef` before the proper check