[PATCH v2 1/2] imagehlp: Fix ImageGetDigestStream