Correctly implement `__richcmp__` for enums, fixing `__ne__` returning always returning `True`.