If `dns_dnssec_keyfromrdata` failed we don't need to call `dst_key_free` because no `dstkey` was created. Doing so nevertheless will result in an assertion failure. This can happen if the key uses an unsupported algorithm.