[ABRT PATCH] Use common string-to-sha1_hash functions. #694