[PATCH 5.10 366/530] ima: Fix the error code for restoring the PCR value