scd: Fix resetting CARD_CTX.
* scd/app.c (deallocate_card): Don't call scd_clear_current_app. (card_reset): Reset ctrl->current_apptype. * scd/command.c (open_card_with_request): Likewise. (send_client_notifications): Likewise. (scd_clear_current_app): Remove.
It's too late to call scd_clear_current_app from deallocate_card,
because CARD_CTX is already reset.
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>