Make SHA digest function write digest value with AV_WN32 instead of assuming