Fix div by zero or overflow detection on Unix
Fix div by zero or overflow detection on Unix

This change fixes a bug in the code that detects whether a division error
is a division by zero or arithmetic overflow. The code was incorrectly
handling instructions with the SIB byte, since the rm was or-ed with the
rex_r bit even for the case when there was a SIB byte, which in case
where the rex_r was set made it miss the SIB byte.

bartonjs/coreclr,martinwoodward/coreclr,Lucrecious/coreclr,wkchoy74/coreclr,poizan42/coreclr,dpodder/coreclr,martinwoodward/coreclr,wkchoy74/coreclr,sperling/coreclr,yeaicc/coreclr,KrzysztofCwalina/coreclr,schellap/coreclr,JonHanna/coreclr,mmitche/coreclr,stormleoxia/coreclr,mocsy/coreclr,martinwoodward/coreclr,LLITCHEV/coreclr,sagood/coreclr,mmitche/coreclr,wkchoy74/coreclr,bartonjs/coreclr,gkhanna79/coreclr,tijoytom/coreclr,poizan42/coreclr,Godin/coreclr,naamunds/coreclr,ragmani/coreclr,mokchhya/coreclr,benpye/coreclr,krytarowski/coreclr,yeaicc/coreclr,Dmitry-Me/coreclr,andschwa/coreclr,LLITCHEV/coreclr,swgillespie/coreclr,sagood/coreclr,yizhang82/coreclr,kyulee1/coreclr,wtgodbe/coreclr,Godin/coreclr,ZhichengZhu/coreclr,Lucrecious/coreclr,bartonjs/coreclr,ZhichengZhu/coreclr,sagood/coreclr,josteink/coreclr,Godin/coreclr,JosephTremoulet/coreclr,benpye/coreclr,YongseopKim/coreclr,shahid-pk/coreclr,mokchhya/coreclr,stormleoxia/coreclr,dpodder/coreclr,KrzysztofCwalina/coreclr,cmckinsey/coreclr,hseok-oh/coreclr,kyulee1/coreclr,sejongoh/coreclr,sejongoh/coreclr,cydhaselton/coreclr,sejongoh/coreclr,James-Ko/coreclr,KrzysztofCwalina/coreclr,gkhanna79/coreclr,martinwoodward/coreclr,tijoytom/coreclr,Dmitry-Me/coreclr,manu-silicon/coreclr,cshung/coreclr,sjsinju/coreclr,shahid-pk/coreclr,qiudesong/coreclr,mocsy/coreclr,botaberg/coreclr,ragmani/coreclr,naamunds/coreclr,bartdesmet/coreclr,Godin/coreclr,poizan42/coreclr,jamesqo/coreclr,rartemev/coreclr,sjsinju/coreclr,jhendrixMSFT/coreclr,Lucrecious/coreclr,mocsy/coreclr,cshung/coreclr,LLITCHEV/coreclr,poizan42/coreclr,ramarag/coreclr,gkhanna79/coreclr,dasMulli/coreclr,swgillespie/coreclr,cshung/coreclr,cydhaselton/coreclr,cshung/coreclr,benpye/coreclr,JonHanna/coreclr,dasMulli/coreclr,krk/coreclr,andschwa/coreclr,sperling/coreclr,roncain/coreclr,ruben-ayrapetyan/coreclr,naamunds/coreclr,shahid-pk/coreclr,cshung/coreclr,cmckinsey/coreclr,mokchhya/coreclr,jhendrixMSFT/coreclr,ZhichengZhu/coreclr,bartdesmet/coreclr,wtgodbe/coreclr,chuck-mitchell/coreclr,Lucrecious/coreclr,Dmitry-Me/coreclr,manu-silicon/coreclr,SlavaRa/coreclr,schellap/coreclr,krytarowski/coreclr,rartemev/coreclr,rartemev/coreclr,botaberg/coreclr,wkchoy74/coreclr,russellhadley/coreclr,ruben-ayrapetyan/coreclr,martinwoodward/coreclr,manu-silicon/coreclr,stormleoxia/coreclr,Godin/coreclr,schellap/coreclr,sjsinju/coreclr,hseok-oh/coreclr,cydhaselton/coreclr,cydhaselton/coreclr,jamesqo/coreclr,mskvortsov/coreclr,chuck-mitchell/coreclr,mocsy/coreclr,bartonjs/coreclr,krytarowski/coreclr,stormleoxia/coreclr,parjong/coreclr,YongseopKim/coreclr,naamunds/coreclr,mskvortsov/coreclr,ragmani/coreclr,shahid-pk/coreclr,James-Ko/coreclr,ZhichengZhu/coreclr,mmitche/coreclr,alexperovich/coreclr,krk/coreclr,krytarowski/coreclr,roncain/coreclr,LLITCHEV/coreclr,JonHanna/coreclr,mokchhya/coreclr,wkchoy74/coreclr,mocsy/coreclr,stormleoxia/coreclr,gkhanna79/coreclr,russellhadley/coreclr,hseok-oh/coreclr,alexperovich/coreclr,JonHanna/coreclr,ZhichengZhu/coreclr,swgillespie/coreclr,bartdesmet/coreclr,parjong/coreclr,roncain/coreclr,krytarowski/coreclr,bartonjs/coreclr,mskvortsov/coreclr,pgavlin/coreclr,russellhadley/coreclr,krk/coreclr,tijoytom/coreclr,KrzysztofCwalina/coreclr,dpodder/coreclr,yeaicc/coreclr,vinnyrom/coreclr,ragmani/coreclr,hseok-oh/coreclr,schellap/coreclr,yizhang82/coreclr,naamunds/coreclr,chuck-mitchell/coreclr,sejongoh/coreclr,pgavlin/coreclr,andschwa/coreclr,manu-silicon/coreclr,AlexGhiondea/coreclr,mocsy/coreclr,russellhadley/coreclr,James-Ko/coreclr,ramarag/coreclr,bartdesmet/coreclr,shahid-pk/coreclr,sejongoh/coreclr,jamesqo/coreclr,AlexGhiondea/coreclr,mokchhya/coreclr,kyulee1/coreclr,sagood/coreclr,JonHanna/coreclr,benpye/coreclr,mocsy/coreclr,botaberg/coreclr,jamesqo/coreclr,bartdesmet/coreclr,sagood/coreclr,LLITCHEV/coreclr,yeaicc/coreclr,wtgodbe/coreclr,neurospeech/coreclr,rartemev/coreclr,mmitche/coreclr,yizhang82/coreclr,parjong/coreclr,James-Ko/coreclr,alexperovich/coreclr,Dmitry-Me/coreclr,bartdesmet/coreclr,yizhang82/coreclr,rartemev/coreclr,tijoytom/coreclr,naamunds/coreclr,josteink/coreclr,botaberg/coreclr,cmckinsey/coreclr,neurospeech/coreclr,SlavaRa/coreclr,vinnyrom/coreclr,mmitche/coreclr,kyulee1/coreclr,AlexGhiondea/coreclr,ruben-ayrapetyan/coreclr,yeaicc/coreclr,swgillespie/coreclr,russellhadley/coreclr,pgavlin/coreclr,dasMulli/coreclr,schellap/coreclr,ZhichengZhu/coreclr,krk/coreclr,Lucrecious/coreclr,ramarag/coreclr,dasMulli/coreclr,martinwoodward/coreclr,KrzysztofCwalina/coreclr,chuck-mitchell/coreclr,mskvortsov/coreclr,Dmitry-Me/coreclr,dasMulli/coreclr,KrzysztofCwalina/coreclr,alexperovich/coreclr,dasMulli/coreclr,kyulee1/coreclr,neurospeech/coreclr,parjong/coreclr,vinnyrom/coreclr,stormleoxia/coreclr,russellhadley/coreclr,jhendrixMSFT/coreclr,wkchoy74/coreclr,hseok-oh/coreclr,sperling/coreclr,jhendrixMSFT/coreclr,josteink/coreclr,SlavaRa/coreclr,Dmitry-Me/coreclr,swgillespie/coreclr,wateret/coreclr,YongseopKim/coreclr,cydhaselton/coreclr,ruben-ayrapetyan/coreclr,shahid-pk/coreclr,krk/coreclr,sagood/coreclr,cydhaselton/coreclr,SlavaRa/coreclr,LLITCHEV/coreclr,YongseopKim/coreclr,swgillespie/coreclr,ragmani/coreclr,JosephTremoulet/coreclr,ramarag/coreclr,ramarag/coreclr,jamesqo/coreclr,jhendrixMSFT/coreclr,JosephTremoulet/coreclr,sperling/coreclr,botaberg/coreclr,JosephTremoulet/coreclr,poizan42/coreclr,josteink/coreclr,benpye/coreclr,JosephTremoulet/coreclr,AlexGhiondea/coreclr,yizhang82/coreclr,sjsinju/coreclr,ramarag/coreclr,KrzysztofCwalina/coreclr,dasMulli/coreclr,bartonjs/coreclr,mokchhya/coreclr,wtgodbe/coreclr,ragmani/coreclr,AlexGhiondea/coreclr,alexperovich/coreclr,alexperovich/coreclr,neurospeech/coreclr,JonHanna/coreclr,chuck-mitchell/coreclr,cmckinsey/coreclr,jamesqo/coreclr,vinnyrom/coreclr,wateret/coreclr,yeaicc/coreclr,Lucrecious/coreclr,schellap/coreclr,stormleoxia/coreclr,James-Ko/coreclr,qiudesong/coreclr,sperling/coreclr,mokchhya/coreclr,schellap/coreclr,sejongoh/coreclr,josteink/coreclr,kyulee1/coreclr,sjsinju/coreclr,wtgodbe/coreclr,josteink/coreclr,sperling/coreclr,martinwoodward/coreclr,mskvortsov/coreclr,James-Ko/coreclr,tijoytom/coreclr,chuck-mitchell/coreclr,vinnyrom/coreclr,roncain/coreclr,swgillespie/coreclr,chuck-mitchell/coreclr,sjsinju/coreclr,botaberg/coreclr,shahid-pk/coreclr,neurospeech/coreclr,ruben-ayrapetyan/coreclr,cmckinsey/coreclr,dpodder/coreclr,Godin/coreclr,mmitche/coreclr,ZhichengZhu/coreclr,andschwa/coreclr,AlexGhiondea/coreclr,roncain/coreclr,wateret/coreclr,Godin/coreclr,bartdesmet/coreclr,poizan42/coreclr,pgavlin/coreclr,tijoytom/coreclr,gkhanna79/coreclr,parjong/coreclr,cmckinsey/coreclr,rartemev/coreclr,sejongoh/coreclr,manu-silicon/coreclr,krk/coreclr,manu-silicon/coreclr,andschwa/coreclr,parjong/coreclr,LLITCHEV/coreclr,qiudesong/coreclr,gkhanna79/coreclr,jhendrixMSFT/coreclr,yeaicc/coreclr,YongseopKim/coreclr,qiudesong/coreclr,ruben-ayrapetyan/coreclr,benpye/coreclr,andschwa/coreclr,sperling/coreclr,andschwa/coreclr,YongseopKim/coreclr,pgavlin/coreclr,Dmitry-Me/coreclr,manu-silicon/coreclr,vinnyrom/coreclr,wateret/coreclr,roncain/coreclr,pgavlin/coreclr,josteink/coreclr,benpye/coreclr,Lucrecious/coreclr,dpodder/coreclr,bartonjs/coreclr,hseok-oh/coreclr,wtgodbe/coreclr,JosephTremoulet/coreclr,vinnyrom/coreclr,wateret/coreclr,cmckinsey/coreclr,krytarowski/coreclr,SlavaRa/coreclr,qiudesong/coreclr,SlavaRa/coreclr,mskvortsov/coreclr,jhendrixMSFT/coreclr,naamunds/coreclr,roncain/coreclr,yizhang82/coreclr,dpodder/coreclr,neurospeech/coreclr,ramarag/coreclr,wateret/coreclr,cshung/coreclr,wkchoy74/coreclr,qiudesong/coreclr