[PATCH 5.12 464/677] ima: Fix the error code for restoring the PCR value