[PATCH 6.0 0656/1073] crypto: img-hash - Fix variable dereferenced before check hdev->req