Python: fix a reference leak in igraphmodule_attribute_name_check