coolkey: Make sure the object ID is unique when filling list
coolkey: Make sure the object ID is unique when filling list

Thanks to oss-fuzz

https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=19208

fabled/OpenSC,metsma/OpenSC,frankmorgner/OpenSC,frankmorgner/OpenSC,frankmorgner/OpenSC,LudovicRousseau/OpenSC,LudovicRousseau/OpenSC,Jakuje/OpenSC,AktivCo/OpenSC,OpenSC/OpenSC,dengert/OpenSC,philipWendland/OpenSC,hongquan/OpenSC-main,Jakuje/OpenSC,fabled/OpenSC,AktivCo/OpenSC,LudovicRousseau/OpenSC,mouse07410/OpenSC,hongquan/OpenSC-main,mouse07410/OpenSC,Jakuje/OpenSC,Jakuje/OpenSC,OpenSC/OpenSC,philipWendland/OpenSC,philipWendland/OpenSC,fabled/OpenSC,metsma/OpenSC,dengert/OpenSC,dengert/OpenSC,hongquan/OpenSC-main,frankmorgner/OpenSC,fabled/OpenSC,metsma/OpenSC,rickyepoderi/OpenSC,rickyepoderi/OpenSC,mouse07410/OpenSC,rickyepoderi/OpenSC,AktivCo/OpenSC,OpenSC/OpenSC