[PATCH 6.1 0680/1146] crypto: img-hash - Fix variable dereferenced before check hdev->req