[PATCH v4 openEuler-23.09] ima: Add macros to isolate the IMA digest list