[PATCH 6.17 303/507] ima: Handle error code returned by ima_filter_rule_match()