Fix build on gcc11
Fix build on gcc11

This made most of the applications crashing in Fedora 34 when
smart card was plugged in.

The suggested patch makes the code path more obvious for gcc to
handle.

https://bugzilla.redhat.com/show_bug.cgi?id=1930652

mouse07410/OpenSC,philipWendland/OpenSC,Jakuje/OpenSC,frankmorgner/OpenSC,OpenSC/OpenSC,mouse07410/OpenSC,fabled/OpenSC,LudovicRousseau/OpenSC,fabled/OpenSC,metsma/OpenSC,frankmorgner/OpenSC,OpenSC/OpenSC,Jakuje/OpenSC,LudovicRousseau/OpenSC,dengert/OpenSC,philipWendland/OpenSC,frankmorgner/OpenSC,LudovicRousseau/OpenSC,philipWendland/OpenSC,frankmorgner/OpenSC,mouse07410/OpenSC,metsma/OpenSC,dengert/OpenSC,metsma/OpenSC,Jakuje/OpenSC,dengert/OpenSC,OpenSC/OpenSC,Jakuje/OpenSC,fabled/OpenSC,fabled/OpenSC