Fix .rc processing issue on FreeBSD
Fix .rc processing issue on FreeBSD

This change fixes issue that occurs on FreeBSD when compiling the
.rc files into the gettext format. For some reason, the shell
expression evaluation returns the resulting resource id as a string
datatype. That leads to a failure when trying to format the result
as a hex number using sprintf.
The change ensures that if that happens, the type is changed to numeric.

sjsinju/coreclr,tijoytom/coreclr,mocsy/coreclr,blackdwarf/coreclr,ruben-ayrapetyan/coreclr,russellhadley/coreclr,swgillespie/coreclr,ganeshran/coreclr,wtgodbe/coreclr,parjong/coreclr,bitcrazed/coreclr,misterzik/coreclr,Godin/coreclr,yeaicc/coreclr,spoiledsport/coreclr,pgavlin/coreclr,Samana/coreclr,geertdoornbos/coreclr,swgillespie/coreclr,david-mitchell/coreclr,sejongoh/coreclr,cmckinsey/coreclr,mmitche/coreclr,schellap/coreclr,wkchoy74/coreclr,swgillespie/coreclr,tijoytom/coreclr,gitchomik/coreclr,misterzik/coreclr,jakesays/coreclr,MCGPPeters/coreclr,yizhang82/coreclr,ragmani/coreclr,JonHanna/coreclr,neurospeech/coreclr,jhendrixMSFT/coreclr,jhendrixMSFT/coreclr,ramarag/coreclr,fffej/coreclr,chuck-mitchell/coreclr,libengu/coreclr,bitcrazed/coreclr,DickvdBrink/coreclr,botaberg/coreclr,ragmani/coreclr,pgavlin/coreclr,gkhanna79/coreclr,grokys/coreclr,serenabenny/coreclr,qiudesong/coreclr,Djuffin/coreclr,ruben-ayrapetyan/coreclr,benpye/coreclr,chaos7theory/coreclr,bitcrazed/coreclr,vinnyrom/coreclr,russellhadley/coreclr,wtgodbe/coreclr,xtypebee/coreclr,bartdesmet/coreclr,jamesqo/coreclr,Sridhar-MS/coreclr,fffej/coreclr,Alcaro/coreclr,apanda/coreclr,JosephTremoulet/coreclr,jhendrixMSFT/coreclr,richardlford/coreclr,KrzysztofCwalina/coreclr,poizan42/coreclr,blackdwarf/coreclr,perfectphase/coreclr,mskvortsov/coreclr,ericeil/coreclr,matthubin/coreclr,naamunds/coreclr,cydhaselton/coreclr,jakesays/coreclr,bjjones/coreclr,geertdoornbos/coreclr,rartemev/coreclr,ragmani/coreclr,stormleoxia/coreclr,orthoxerox/coreclr,yeaicc/coreclr,mmitche/coreclr,roncain/coreclr,zmaruo/coreclr,richardlford/coreclr,martinwoodward/coreclr,fffej/coreclr,roncain/coreclr,ganeshran/coreclr,manu-silicon/coreclr,russellhadley/coreclr,shana/coreclr,ragmani/coreclr,AlfredoMS/coreclr,chenxizhang/coreclr,SlavaRa/coreclr,ZhichengZhu/coreclr,SpotLabsNET/coreclr,benpye/coreclr,dpodder/coreclr,andschwa/coreclr,zmaruo/coreclr,sperling/coreclr,parjong/coreclr,gkhanna79/coreclr,ZhichengZhu/coreclr,Samana/coreclr,ragmani/coreclr,iamjasonp/coreclr,naamunds/coreclr,mokchhya/coreclr,xoofx/coreclr,sperling/coreclr,Godin/coreclr,naamunds/coreclr,xtypebee/coreclr,kyulee1/coreclr,Alcaro/coreclr,stormleoxia/coreclr,xtypebee/coreclr,david-mitchell/coreclr,neurospeech/coreclr,shahid-pk/coreclr,cydhaselton/coreclr,Alcaro/coreclr,libengu/coreclr,taylorjonl/coreclr,sjsinju/coreclr,mokchhya/coreclr,krk/coreclr,blackdwarf/coreclr,wtgodbe/coreclr,chenxizhang/coreclr,gkhanna79/coreclr,bitcrazed/coreclr,sagood/coreclr,Dmitry-Me/coreclr,SlavaRa/coreclr,botaberg/coreclr,LLITCHEV/coreclr,shana/coreclr,krixalis/coreclr,JosephTremoulet/coreclr,Lucrecious/coreclr,tijoytom/coreclr,cshung/coreclr,chaos7theory/coreclr,richardlford/coreclr,vinnyrom/coreclr,krk/coreclr,iamjasonp/coreclr,serenabenny/coreclr,spoiledsport/coreclr,ericeil/coreclr,SpotLabsNET/coreclr,benpye/coreclr,misterzik/coreclr,apanda/coreclr,qiudesong/coreclr,manu-silicon/coreclr,neurospeech/coreclr,perfectphase/coreclr,chuck-mitchell/coreclr,sperling/coreclr,gkhanna79/coreclr,MCGPPeters/coreclr,krixalis/coreclr,YongseopKim/coreclr,hanu412/coreclr,jamesqo/coreclr,yeaicc/coreclr,shahid-pk/coreclr,perfectphase/coreclr,sagood/coreclr,wkchoy74/coreclr,neurospeech/coreclr,zmaruo/coreclr,spoiledsport/coreclr,SlavaRa/coreclr,dpodder/coreclr,Samana/coreclr,SpotLabsNET/coreclr,parjong/coreclr,matthubin/coreclr,mocsy/coreclr,martinwoodward/coreclr,LLITCHEV/coreclr,cshung/coreclr,sejongoh/coreclr,wateret/coreclr,martinwoodward/coreclr,krixalis/coreclr,Djuffin/coreclr,chrishaly/coreclr,lzcj4/coreclr,Godin/coreclr,perfectphase/coreclr,wtgodbe/coreclr,mmitche/coreclr,gitchomik/coreclr,grokys/coreclr,Dmitry-Me/coreclr,alexperovich/coreclr,wateret/coreclr,swgillespie/coreclr,lzcj4/coreclr,YongseopKim/coreclr,kyulee1/coreclr,benpye/coreclr,poizan42/coreclr,wateret/coreclr,DickvdBrink/coreclr,iamjasonp/coreclr,sagood/coreclr,dasMulli/coreclr,andschwa/coreclr,blackdwarf/coreclr,KrzysztofCwalina/coreclr,Sridhar-MS/coreclr,jhendrixMSFT/coreclr,Alcaro/coreclr,Alcaro/coreclr,roncain/coreclr,vinnyrom/coreclr,ktos/coreclr,zmaruo/coreclr,bitcrazed/coreclr,KrzysztofCwalina/coreclr,dasMulli/coreclr,Samana/coreclr,bartonjs/coreclr,kyulee1/coreclr,mmitche/coreclr,botaberg/coreclr,pgavlin/coreclr,serenabenny/coreclr,grokys/coreclr,stormleoxia/coreclr,SlavaRa/coreclr,mskvortsov/coreclr,AlexGhiondea/coreclr,Dmitry-Me/coreclr,ZhichengZhu/coreclr,OryJuVog/coreclr,poizan42/coreclr,apanda/coreclr,pgavlin/coreclr,parjong/coreclr,James-Ko/coreclr,alexperovich/coreclr,sergey-raevskiy/coreclr,schellap/coreclr,stormleoxia/coreclr,taylorjonl/coreclr,orthoxerox/coreclr,qiudesong/coreclr,schellap/coreclr,bjjones/coreclr,Djuffin/coreclr,Dmitry-Me/coreclr,YongseopKim/coreclr,ganeshran/coreclr,manu-silicon/coreclr,KrzysztofCwalina/coreclr,misterzik/coreclr,cydhaselton/coreclr,bartonjs/coreclr,OryJuVog/coreclr,fffej/coreclr,krytarowski/coreclr,xoofx/coreclr,James-Ko/coreclr,krixalis/coreclr,bjjones/coreclr,orthoxerox/coreclr,yizhang82/coreclr,alexperovich/coreclr,fernando-rodriguez/coreclr,gitchomik/coreclr,jamesqo/coreclr,LLITCHEV/coreclr,spoiledsport/coreclr,yeaicc/coreclr,ericeil/coreclr,qiudesong/coreclr,dasMulli/coreclr,mskvortsov/coreclr,yizhang82/coreclr,fernando-rodriguez/coreclr,gitchomik/coreclr,James-Ko/coreclr,GuilhermeSa/coreclr,ktos/coreclr,mokchhya/coreclr,Samana/coreclr,geertdoornbos/coreclr,richardlford/coreclr,JosephTremoulet/coreclr,rartemev/coreclr,ktos/coreclr,ganeshran/coreclr,russellhadley/coreclr,Alcaro/coreclr,dpodder/coreclr,ytechie/coreclr,dkorolev/coreclr,Godin/coreclr,JonHanna/coreclr,hanu412/coreclr,AlfredoMS/coreclr,benpye/coreclr,zmaruo/coreclr,GuilhermeSa/coreclr,serenabenny/coreclr,KrzysztofCwalina/coreclr,zmaruo/coreclr,wateret/coreclr,sejongoh/coreclr,SpotLabsNET/coreclr,Lucrecious/coreclr,sjsinju/coreclr,matthubin/coreclr,rartemev/coreclr,manu-silicon/coreclr,yizhang82/coreclr,yeaicc/coreclr,hseok-oh/coreclr,cydhaselton/coreclr,DickvdBrink/coreclr,martinwoodward/coreclr,AlexGhiondea/coreclr,xtypebee/coreclr,naamunds/coreclr,martinwoodward/coreclr,mocsy/coreclr,ramarag/coreclr,grokys/coreclr,chenxizhang/coreclr,stormleoxia/coreclr,Godin/coreclr,AlfredoMS/coreclr,xoofx/coreclr,sergey-raevskiy/coreclr,dkorolev/coreclr,mmitche/coreclr,LLITCHEV/coreclr,sperling/coreclr,parjong/coreclr,swgillespie/coreclr,fernando-rodriguez/coreclr,cmckinsey/coreclr,cshung/coreclr,josteink/coreclr,apanda/coreclr,david-mitchell/coreclr,Djuffin/coreclr,neurospeech/coreclr,mmitche/coreclr,SpotLabsNET/coreclr,ktos/coreclr,sagood/coreclr,sagood/coreclr,YongseopKim/coreclr,bartdesmet/coreclr,hseok-oh/coreclr,spoiledsport/coreclr,mokchhya/coreclr,chaos7theory/coreclr,benpye/coreclr,chrishaly/coreclr,DasAllFolks/coreclr,wkchoy74/coreclr,LLITCHEV/coreclr,dkorolev/coreclr,wateret/coreclr,spoiledsport/coreclr,botaberg/coreclr,mocsy/coreclr,naamunds/coreclr,AlexGhiondea/coreclr,yeaicc/coreclr,ericeil/coreclr,matthubin/coreclr,swgillespie/coreclr,jamesqo/coreclr,schellap/coreclr,vinnyrom/coreclr,richardlford/coreclr,sejongoh/coreclr,jakesays/coreclr,gitchomik/coreclr,jakesays/coreclr,dpodder/coreclr,orthoxerox/coreclr,schellap/coreclr,sjsinju/coreclr,mskvortsov/coreclr,sergey-raevskiy/coreclr,KrzysztofCwalina/coreclr,dkorolev/coreclr,fernando-rodriguez/coreclr,serenabenny/coreclr,shana/coreclr,James-Ko/coreclr,andschwa/coreclr,chaos7theory/coreclr,Godin/coreclr,ramarag/coreclr,lzcj4/coreclr,Djuffin/coreclr,JosephTremoulet/coreclr,botaberg/coreclr,grokys/coreclr,cydhaselton/coreclr,schellap/coreclr,libengu/coreclr,ytechie/coreclr,geertdoornbos/coreclr,hseok-oh/coreclr,libengu/coreclr,ganeshran/coreclr,poizan42/coreclr,geertdoornbos/coreclr,mokchhya/coreclr,MCGPPeters/coreclr,cmckinsey/coreclr,blackdwarf/coreclr,iamjasonp/coreclr,bjjones/coreclr,AlexGhiondea/coreclr,sejongoh/coreclr,shana/coreclr,sejongoh/coreclr,krytarowski/coreclr,Lucrecious/coreclr,fffej/coreclr,ytechie/coreclr,bartdesmet/coreclr,josteink/coreclr,MCGPPeters/coreclr,ragmani/coreclr,cmckinsey/coreclr,Samana/coreclr,xtypebee/coreclr,naamunds/coreclr,krk/coreclr,botaberg/coreclr,hseok-oh/coreclr,YongseopKim/coreclr,swgillespie/coreclr,chuck-mitchell/coreclr,AlexGhiondea/coreclr,DickvdBrink/coreclr,iamjasonp/coreclr,JonHanna/coreclr,shahid-pk/coreclr,krk/coreclr,hanu412/coreclr,OryJuVog/coreclr,pgavlin/coreclr,wtgodbe/coreclr,orthoxerox/coreclr,AlfredoMS/coreclr,andschwa/coreclr,tijoytom/coreclr,alexperovich/coreclr,James-Ko/coreclr,bartonjs/coreclr,andschwa/coreclr,martinwoodward/coreclr,ruben-ayrapetyan/coreclr,matthubin/coreclr,mocsy/coreclr,AlfredoMS/coreclr,ktos/coreclr,SlavaRa/coreclr,DasAllFolks/coreclr,lzcj4/coreclr,sjsinju/coreclr,josteink/coreclr,jakesays/coreclr,ramarag/coreclr,chuck-mitchell/coreclr,bjjones/coreclr,rartemev/coreclr,ramarag/coreclr,josteink/coreclr,krytarowski/coreclr,alexperovich/coreclr,wtgodbe/coreclr,jhendrixMSFT/coreclr,poizan42/coreclr,dasMulli/coreclr,david-mitchell/coreclr,gitchomik/coreclr,Djuffin/coreclr,shahid-pk/coreclr,bartonjs/coreclr,chrishaly/coreclr,matthubin/coreclr,taylorjonl/coreclr,bartdesmet/coreclr,bitcrazed/coreclr,russellhadley/coreclr,krytarowski/coreclr,cydhaselton/coreclr,cmckinsey/coreclr,ganeshran/coreclr,fernando-rodriguez/coreclr,fernando-rodriguez/coreclr,roncain/coreclr,shana/coreclr,wkchoy74/coreclr,alexperovich/coreclr,ytechie/coreclr,blackdwarf/coreclr,tijoytom/coreclr,DasAllFolks/coreclr,misterzik/coreclr,manu-silicon/coreclr,JonHanna/coreclr,libengu/coreclr,andschwa/coreclr,krytarowski/coreclr,Lucrecious/coreclr,mokchhya/coreclr,cshung/coreclr,LLITCHEV/coreclr,shana/coreclr,Dmitry-Me/coreclr,Sridhar-MS/coreclr,yizhang82/coreclr,manu-silicon/coreclr,ruben-ayrapetyan/coreclr,bartonjs/coreclr,sejongoh/coreclr,wkchoy74/coreclr,GuilhermeSa/coreclr,ytechie/coreclr,James-Ko/coreclr,cmckinsey/coreclr,orthoxerox/coreclr,Sridhar-MS/coreclr,tijoytom/coreclr,hanu412/coreclr,roncain/coreclr,OryJuVog/coreclr,chenxizhang/coreclr,dasMulli/coreclr,perfectphase/coreclr,sperling/coreclr,perfectphase/coreclr,OryJuVog/coreclr,GuilhermeSa/coreclr,schellap/coreclr,manu-silicon/coreclr,kyulee1/coreclr,JonHanna/coreclr,cmckinsey/coreclr,sergey-raevskiy/coreclr,vinnyrom/coreclr,Sridhar-MS/coreclr,libengu/coreclr,dkorolev/coreclr,neurospeech/coreclr,chuck-mitchell/coreclr,ericeil/coreclr,mokchhya/coreclr,sergey-raevskiy/coreclr,dkorolev/coreclr,ramarag/coreclr,geertdoornbos/coreclr,KrzysztofCwalina/coreclr,taylorjonl/coreclr,DasAllFolks/coreclr,OryJuVog/coreclr,JonHanna/coreclr,xoofx/coreclr,serenabenny/coreclr,sagood/coreclr,chrishaly/coreclr,krixalis/coreclr,bartonjs/coreclr,fffej/coreclr,dpodder/coreclr,kyulee1/coreclr,ruben-ayrapetyan/coreclr,geertdoornbos/coreclr,david-mitchell/coreclr,xoofx/coreclr,russellhadley/coreclr,blackdwarf/coreclr,benpye/coreclr,chrishaly/coreclr,chuck-mitchell/coreclr,Dmitry-Me/coreclr,bartonjs/coreclr,dasMulli/coreclr,wkchoy74/coreclr,jhendrixMSFT/coreclr,misterzik/coreclr,JosephTremoulet/coreclr,Lucrecious/coreclr,SpotLabsNET/coreclr,wkchoy74/coreclr,david-mitchell/coreclr,jhendrixMSFT/coreclr,SlavaRa/coreclr,Godin/coreclr,MCGPPeters/coreclr,hanu412/coreclr,Dmitry-Me/coreclr,lzcj4/coreclr,qiudesong/coreclr,chrishaly/coreclr,rartemev/coreclr,GuilhermeSa/coreclr,gkhanna79/coreclr,hseok-oh/coreclr,parjong/coreclr,josteink/coreclr,krk/coreclr,iamjasonp/coreclr,grokys/coreclr,DasAllFolks/coreclr,ZhichengZhu/coreclr,naamunds/coreclr,Lucrecious/coreclr,shahid-pk/coreclr,yizhang82/coreclr,xoofx/coreclr,krk/coreclr,apanda/coreclr,ZhichengZhu/coreclr,andschwa/coreclr,ericeil/coreclr,taylorjonl/coreclr,MCGPPeters/coreclr,ramarag/coreclr,ktos/coreclr,wateret/coreclr,krixalis/coreclr,ZhichengZhu/coreclr,dasMulli/coreclr,DickvdBrink/coreclr,sperling/coreclr,hseok-oh/coreclr,mocsy/coreclr,jamesqo/coreclr,DickvdBrink/coreclr,xtypebee/coreclr,sergey-raevskiy/coreclr,krytarowski/coreclr,yeaicc/coreclr,taylorjonl/coreclr,stormleoxia/coreclr,bitcrazed/coreclr,hanu412/coreclr,martinwoodward/coreclr,cshung/coreclr,rartemev/coreclr,vinnyrom/coreclr,JosephTremoulet/coreclr,shahid-pk/coreclr,vinnyrom/coreclr,gkhanna79/coreclr,LLITCHEV/coreclr,poizan42/coreclr,mskvortsov/coreclr,AlfredoMS/coreclr,taylorjonl/coreclr,jakesays/coreclr,chenxizhang/coreclr,stormleoxia/coreclr,josteink/coreclr,GuilhermeSa/coreclr,ytechie/coreclr,sperling/coreclr,YongseopKim/coreclr,chuck-mitchell/coreclr,mskvortsov/coreclr,chaos7theory/coreclr,chaos7theory/coreclr,kyulee1/coreclr,ktos/coreclr,sjsinju/coreclr,bartdesmet/coreclr,josteink/coreclr,dpodder/coreclr,DasAllFolks/coreclr,jamesqo/coreclr,bjjones/coreclr,Lucrecious/coreclr,ruben-ayrapetyan/coreclr,chenxizhang/coreclr,apanda/coreclr,qiudesong/coreclr,roncain/coreclr,richardlford/coreclr,bartdesmet/coreclr,bartdesmet/coreclr,roncain/coreclr,ZhichengZhu/coreclr,mocsy/coreclr,Sridhar-MS/coreclr,shahid-pk/coreclr,cshung/coreclr,lzcj4/coreclr,pgavlin/coreclr,AlexGhiondea/coreclr