[PATCH 4.9 122/251] crypto: img-hash - Fix variable dereferenced before check hdev->req