[PATCH 6.18 361/614] ima: Handle error code returned by ima_filter_rule_match()