Convert private key to libotr format

Not sure if this belongs here (or, upstream at go.crypto/otr) but maybe someone will find it useful.