gpg: Fix key generation with existing key from card.
* g10/keygen.c (ask_algo): Fix condition. Continue the loop when failure.
- Fixes-commit: e7891225788ab5f6d050a06643b1f488c227771f
- GnuPG-bug-id: T7309, T7457
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>