Fix double free in d2i_PrivateKey().