pcsc: correctly handle timeout situation when refreshing reader state.
pcsc: correctly handle timeout situation when refreshing reader state.

The code that treated a timeout as success was never reached, because the
surrounding if eliminated the possibility of entering the block when the return code
from SCardGetStatusChange was SCARD_E_TIMEOUT.

Issue found by Coverity Scan.

0x7678/myOpenSC,philipWendland/OpenSC,viktorTarasov/OpenSC-SM,UIKit0/OpenSC,AktivCo/OpenSC,UIKit0/OpenSC,frankmorgner/OpenSC,gentoo/OpenSC,velter/OpenSC,kasparsd/opensc-latvia-id,l1k/OpenSC,dirkx/OpenSC,0x7678/OpenSC,hongquan/OpenSC-main,carlhoerberg/OpenSC,mtrojnar/OpenSC,velter/OpenSC,adminmt/OpenSC,financeX/OpenSC,financeX/OpenSC,metsma/OpenSC,OpenSC/OpenSC,jpki/OpenSC,jpki/OpenSC,mtrojnar/OpenSC,germanblanco/OpenSC,dirkx/OpenSC.tokend,hhonkanen/OpenSC,gentoo/OpenSC,Jakuje/OpenSC,marschap/pkg-opensc,OpenSC/OpenSC,metsma/OpenSC,hhonkanen/OpenSC,frankmorgner/OpenSC,AktivCo/OpenSC,dirkx/OpenSC,aobaid/OpenSC,mtrojnar/OpenSC,0x7678/myOpenSC,mouse07410/OpenSC,rickyepoderi/OpenSC,financeX/OpenSC,germanblanco/OpenSC,mouse07410/OpenSC,fabled/OpenSC,kasparsd/opensc-latvia-id,frankmorgner/OpenSC,aobaid/OpenSC,financeX/OpenSC,AktivCo/OpenSC,adminmt/OpenSC,dengert/OpenSC,nmav/OpenSC,carlhoerberg/OpenSC,Jakuje/OpenSC,metsma/OpenSC,dirkx/OpenSC.tokend,marschap/pkg-opensc,CardContact/OpenSC,kasparsd/opensc-latvia-id,fabled/OpenSC,dengert/OpenSC,mouse07410/OpenSC,viktorTarasov/OpenSC-SM,dirkx/OpenSC,velter/OpenSC,adminmt/OpenSC,hongquan/OpenSC-main,rickyepoderi/OpenSC,germanblanco/OpenSC,UIKit0/OpenSC,fabled/OpenSC,viktorTarasov/OpenSC-SM,velter/OpenSC,tidatida/OpenSC,martinpaljak/OpenSC,martinpaljak/OpenSC,l1k/OpenSC,gemini/OpenSC,LudovicRousseau/OpenSC,jpki/OpenSC,gentoo/OpenSC,0x7678/myOpenSC,0x7678/OpenSC,0x7678/myOpenSC,gentoo/OpenSC,hongquan/OpenSC-main,philipWendland/OpenSC,fabled/OpenSC,financeX/OpenSC,marschap/pkg-opensc,UIKit0/OpenSC,aobaid/OpenSC,adminmt/OpenSC,dirkx/OpenSC,aobaid/OpenSC,philipWendland/OpenSC,carlhoerberg/OpenSC,ieugen/OpenSC,ieugen/OpenSC,dengert/OpenSC,LudovicRousseau/OpenSC,rickyepoderi/OpenSC,kasparsd/opensc-latvia-id,0x7678/OpenSC,martinpaljak/OpenSC,OpenSC/OpenSC,ieugen/OpenSC,carlhoerberg/OpenSC,dirkx/OpenSC.tokend,tidatida/OpenSC,0x7678/OpenSC,ieugen/OpenSC,tidatida/OpenSC,dirkx/OpenSC,tidatida/OpenSC,Jakuje/OpenSC,dirkx/OpenSC.tokend,ieugen/OpenSC,nmav/OpenSC,0x7678/myOpenSC,l1k/OpenSC,hhonkanen/OpenSC,dirkx/OpenSC.tokend,LudovicRousseau/OpenSC,gentoo/OpenSC,CardContact/OpenSC,Jakuje/OpenSC,gemini/OpenSC,frankmorgner/OpenSC,nmav/OpenSC,CardContact/OpenSC,marschap/pkg-opensc,dirkx/OpenSC.tokend,carlhoerberg/OpenSC,gemini/OpenSC