[PATCH openEuler-1.0-LTS 3/4] cipso,calipso: resolve a number of problems with the DOI refcounts