Fix dnf.crypto.keyinfo2keyid().

It produces wrong results on 64 bit platforms.