[PATCH 5.15 433/731] crypto: img-hash - Fix variable dereferenced before check hdev->req