g10: Support ECC for gen_card_key.
* g10/keygen.c (gen_card_key): Remove the first argument of ALGO. (do_generate_keypair, generate_card_subkeypair): Follow the change.
ALGO is determined by the key attribute of the card.
- Co-authored-by: Arnaud Fontaine <arnaud.fontaine@ssi.gouv.fr>
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>