green_dealloc: cast to PyObject * in PyObject_IS_GC