[PATCH openEuler-1.0-LTS 6/8] ima: Evaluate error in init_ima()