Enhance ICU version scan (#9993)
Enhance ICU version scan (#9993)

The scanning that tries to find locally installed ICU version was not
considering the case when only ICU library files with major version
component were present (like libicuuc.so.52). This is a rare case that
I've seen so far only when people built and installed ICU manually.
But it is worth to add checks for such case as a fallback, which is
what this change does.
I have also added checks for minorVersion and subVersion being -1 when
trying to detect the symbol versioning used. While the pre-existing code
would still work fine, it would unnecessarily try nonsensical version.
gkhanna79/coreclr,rartemev/coreclr,russellhadley/coreclr,mskvortsov/coreclr,ragmani/coreclr,parjong/coreclr,yizhang82/coreclr,kyulee1/coreclr,sagood/coreclr,krk/coreclr,kyulee1/coreclr,pgavlin/coreclr,kyulee1/coreclr,YongseopKim/coreclr,JosephTremoulet/coreclr,yeaicc/coreclr,tijoytom/coreclr,tijoytom/coreclr,sagood/coreclr,parjong/coreclr,ragmani/coreclr,botaberg/coreclr,YongseopKim/coreclr,yeaicc/coreclr,hseok-oh/coreclr,ruben-ayrapetyan/coreclr,AlexGhiondea/coreclr,dpodder/coreclr,hseok-oh/coreclr,AlexGhiondea/coreclr,AlexGhiondea/coreclr,alexperovich/coreclr,mskvortsov/coreclr,ruben-ayrapetyan/coreclr,poizan42/coreclr,wtgodbe/coreclr,JonHanna/coreclr,wateret/coreclr,cydhaselton/coreclr,yeaicc/coreclr,sagood/coreclr,parjong/coreclr,rartemev/coreclr,krytarowski/coreclr,qiudesong/coreclr,wateret/coreclr,cmckinsey/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,rartemev/coreclr,qiudesong/coreclr,cshung/coreclr,cshung/coreclr,ruben-ayrapetyan/coreclr,JosephTremoulet/coreclr,gkhanna79/coreclr,YongseopKim/coreclr,jamesqo/coreclr,James-Ko/coreclr,yeaicc/coreclr,JosephTremoulet/coreclr,hseok-oh/coreclr,JonHanna/coreclr,JonHanna/coreclr,botaberg/coreclr,krk/coreclr,hseok-oh/coreclr,cydhaselton/coreclr,James-Ko/coreclr,rartemev/coreclr,krk/coreclr,jamesqo/coreclr,botaberg/coreclr,wateret/coreclr,mmitche/coreclr,tijoytom/coreclr,cydhaselton/coreclr,gkhanna79/coreclr,kyulee1/coreclr,jamesqo/coreclr,krytarowski/coreclr,russellhadley/coreclr,AlexGhiondea/coreclr,poizan42/coreclr,kyulee1/coreclr,gkhanna79/coreclr,mmitche/coreclr,JosephTremoulet/coreclr,ragmani/coreclr,YongseopKim/coreclr,cydhaselton/coreclr,hseok-oh/coreclr,sagood/coreclr,wateret/coreclr,ruben-ayrapetyan/coreclr,tijoytom/coreclr,qiudesong/coreclr,tijoytom/coreclr,russellhadley/coreclr,cydhaselton/coreclr,qiudesong/coreclr,hseok-oh/coreclr,ragmani/coreclr,dpodder/coreclr,russellhadley/coreclr,alexperovich/coreclr,mskvortsov/coreclr,yizhang82/coreclr,sagood/coreclr,parjong/coreclr,yeaicc/coreclr,yizhang82/coreclr,botaberg/coreclr,JonHanna/coreclr,jamesqo/coreclr,James-Ko/coreclr,cmckinsey/coreclr,ragmani/coreclr,JosephTremoulet/coreclr,jamesqo/coreclr,wtgodbe/coreclr,cmckinsey/coreclr,gkhanna79/coreclr,ragmani/coreclr,ruben-ayrapetyan/coreclr,sagood/coreclr,krk/coreclr,James-Ko/coreclr,YongseopKim/coreclr,cshung/coreclr,qiudesong/coreclr,wateret/coreclr,jamesqo/coreclr,pgavlin/coreclr,AlexGhiondea/coreclr,mskvortsov/coreclr,yeaicc/coreclr,mskvortsov/coreclr,krk/coreclr,pgavlin/coreclr,cmckinsey/coreclr,James-Ko/coreclr,cmckinsey/coreclr,wtgodbe/coreclr,JonHanna/coreclr,russellhadley/coreclr,rartemev/coreclr,krytarowski/coreclr,qiudesong/coreclr,yeaicc/coreclr,parjong/coreclr,tijoytom/coreclr,alexperovich/coreclr,yizhang82/coreclr,krk/coreclr,mmitche/coreclr,parjong/coreclr,poizan42/coreclr,ruben-ayrapetyan/coreclr,wtgodbe/coreclr,botaberg/coreclr,krytarowski/coreclr,poizan42/coreclr,mmitche/coreclr,cydhaselton/coreclr,dpodder/coreclr,yizhang82/coreclr,JosephTremoulet/coreclr,pgavlin/coreclr,botaberg/coreclr,mmitche/coreclr,cshung/coreclr,cshung/coreclr,pgavlin/coreclr,mskvortsov/coreclr,dpodder/coreclr,JonHanna/coreclr,gkhanna79/coreclr,krytarowski/coreclr,mmitche/coreclr,cmckinsey/coreclr,yizhang82/coreclr,cmckinsey/coreclr,kyulee1/coreclr,alexperovich/coreclr,pgavlin/coreclr,cshung/coreclr,YongseopKim/coreclr,rartemev/coreclr,poizan42/coreclr,russellhadley/coreclr,krytarowski/coreclr,alexperovich/coreclr,AlexGhiondea/coreclr,dpodder/coreclr,alexperovich/coreclr,James-Ko/coreclr,wateret/coreclr,dpodder/coreclr,poizan42/coreclr