Implement duphash for kernel oopses

That is (partially) compatible with the algorithm in ABRT <= 2.1.10.

Note that the original hashing procedure had one special case that is
not implemented here: for stack traces where the string "Call Trace:" is
not p