[PATCH openEuler-5.10-LTS 033/141] ima: Simplify ima_lsm_copy_rule