Fix for issue  #5467: [R2R] InvalidCastException in timer tests. (#5478)
Fix for issue  #5467: [R2R] InvalidCastException in timer tests. (#5478)

We were not using the correct MethodTable pointer when constructing delegate objects to interface methods
wtgodbe/coreclr,cshung/coreclr,parjong/coreclr,jamesqo/coreclr,poizan42/coreclr,wtgodbe/coreclr,JonHanna/coreclr,JosephTremoulet/coreclr,krytarowski/coreclr,JosephTremoulet/coreclr,mskvortsov/coreclr,poizan42/coreclr,dpodder/coreclr,cshung/coreclr,schellap/coreclr,sjsinju/coreclr,cydhaselton/coreclr,manu-silicon/coreclr,ZhichengZhu/coreclr,dpodder/coreclr,parjong/coreclr,AlexGhiondea/coreclr,JonHanna/coreclr,martinwoodward/coreclr,josteink/coreclr,JonHanna/coreclr,yizhang82/coreclr,dasMulli/coreclr,bartdesmet/coreclr,roncain/coreclr,dasMulli/coreclr,kyulee1/coreclr,pgavlin/coreclr,gkhanna79/coreclr,naamunds/coreclr,tijoytom/coreclr,ragmani/coreclr,schellap/coreclr,kyulee1/coreclr,jhendrixMSFT/coreclr,pgavlin/coreclr,ruben-ayrapetyan/coreclr,Dmitry-Me/coreclr,cmckinsey/coreclr,rartemev/coreclr,wateret/coreclr,cshung/coreclr,poizan42/coreclr,wtgodbe/coreclr,mskvortsov/coreclr,sjsinju/coreclr,ramarag/coreclr,yizhang82/coreclr,vinnyrom/coreclr,mmitche/coreclr,martinwoodward/coreclr,Dmitry-Me/coreclr,yeaicc/coreclr,JosephTremoulet/coreclr,qiudesong/coreclr,parjong/coreclr,cydhaselton/coreclr,krytarowski/coreclr,alexperovich/coreclr,mskvortsov/coreclr,parjong/coreclr,yeaicc/coreclr,ruben-ayrapetyan/coreclr,botaberg/coreclr,ramarag/coreclr,mmitche/coreclr,jhendrixMSFT/coreclr,roncain/coreclr,ruben-ayrapetyan/coreclr,botaberg/coreclr,dasMulli/coreclr,hseok-oh/coreclr,botaberg/coreclr,cydhaselton/coreclr,russellhadley/coreclr,mskvortsov/coreclr,krk/coreclr,cmckinsey/coreclr,mmitche/coreclr,yeaicc/coreclr,YongseopKim/coreclr,vinnyrom/coreclr,wateret/coreclr,cydhaselton/coreclr,pgavlin/coreclr,ZhichengZhu/coreclr,neurospeech/coreclr,krk/coreclr,gkhanna79/coreclr,tijoytom/coreclr,cmckinsey/coreclr,jhendrixMSFT/coreclr,shahid-pk/coreclr,rartemev/coreclr,gkhanna79/coreclr,vinnyrom/coreclr,hseok-oh/coreclr,mmitche/coreclr,alexperovich/coreclr,neurospeech/coreclr,naamunds/coreclr,dpodder/coreclr,hseok-oh/coreclr,yeaicc/coreclr,ragmani/coreclr,naamunds/coreclr,shahid-pk/coreclr,ramarag/coreclr,schellap/coreclr,Dmitry-Me/coreclr,wateret/coreclr,manu-silicon/coreclr,krk/coreclr,kyulee1/coreclr,dpodder/coreclr,cmckinsey/coreclr,russellhadley/coreclr,alexperovich/coreclr,manu-silicon/coreclr,botaberg/coreclr,naamunds/coreclr,wateret/coreclr,yizhang82/coreclr,ZhichengZhu/coreclr,YongseopKim/coreclr,dpodder/coreclr,kyulee1/coreclr,vinnyrom/coreclr,krk/coreclr,russellhadley/coreclr,yeaicc/coreclr,manu-silicon/coreclr,kyulee1/coreclr,AlexGhiondea/coreclr,poizan42/coreclr,wateret/coreclr,jamesqo/coreclr,manu-silicon/coreclr,qiudesong/coreclr,YongseopKim/coreclr,botaberg/coreclr,ruben-ayrapetyan/coreclr,krk/coreclr,mskvortsov/coreclr,cydhaselton/coreclr,parjong/coreclr,KrzysztofCwalina/coreclr,josteink/coreclr,alexperovich/coreclr,mmitche/coreclr,KrzysztofCwalina/coreclr,krk/coreclr,mskvortsov/coreclr,ZhichengZhu/coreclr,dasMulli/coreclr,ramarag/coreclr,James-Ko/coreclr,qiudesong/coreclr,YongseopKim/coreclr,yizhang82/coreclr,shahid-pk/coreclr,bartdesmet/coreclr,botaberg/coreclr,James-Ko/coreclr,ruben-ayrapetyan/coreclr,bartdesmet/coreclr,YongseopKim/coreclr,jhendrixMSFT/coreclr,bartdesmet/coreclr,gkhanna79/coreclr,jamesqo/coreclr,shahid-pk/coreclr,krytarowski/coreclr,ruben-ayrapetyan/coreclr,josteink/coreclr,russellhadley/coreclr,wtgodbe/coreclr,naamunds/coreclr,jhendrixMSFT/coreclr,sagood/coreclr,martinwoodward/coreclr,KrzysztofCwalina/coreclr,ragmani/coreclr,cmckinsey/coreclr,krytarowski/coreclr,bartdesmet/coreclr,KrzysztofCwalina/coreclr,James-Ko/coreclr,vinnyrom/coreclr,cmckinsey/coreclr,jhendrixMSFT/coreclr,qiudesong/coreclr,dasMulli/coreclr,yizhang82/coreclr,gkhanna79/coreclr,Dmitry-Me/coreclr,KrzysztofCwalina/coreclr,sagood/coreclr,ragmani/coreclr,dpodder/coreclr,bartdesmet/coreclr,cshung/coreclr,AlexGhiondea/coreclr,roncain/coreclr,jamesqo/coreclr,tijoytom/coreclr,ramarag/coreclr,vinnyrom/coreclr,pgavlin/coreclr,hseok-oh/coreclr,rartemev/coreclr,mmitche/coreclr,shahid-pk/coreclr,roncain/coreclr,poizan42/coreclr,roncain/coreclr,josteink/coreclr,roncain/coreclr,sagood/coreclr,ragmani/coreclr,cshung/coreclr,Dmitry-Me/coreclr,wtgodbe/coreclr,alexperovich/coreclr,dasMulli/coreclr,naamunds/coreclr,martinwoodward/coreclr,manu-silicon/coreclr,martinwoodward/coreclr,manu-silicon/coreclr,JosephTremoulet/coreclr,tijoytom/coreclr,qiudesong/coreclr,yeaicc/coreclr,wtgodbe/coreclr,bartdesmet/coreclr,ZhichengZhu/coreclr,neurospeech/coreclr,shahid-pk/coreclr,sagood/coreclr,naamunds/coreclr,russellhadley/coreclr,krytarowski/coreclr,qiudesong/coreclr,dasMulli/coreclr,Dmitry-Me/coreclr,yeaicc/coreclr,YongseopKim/coreclr,ramarag/coreclr,poizan42/coreclr,vinnyrom/coreclr,schellap/coreclr,KrzysztofCwalina/coreclr,kyulee1/coreclr,schellap/coreclr,josteink/coreclr,tijoytom/coreclr,JonHanna/coreclr,hseok-oh/coreclr,sjsinju/coreclr,ragmani/coreclr,martinwoodward/coreclr,sagood/coreclr,russellhadley/coreclr,josteink/coreclr,parjong/coreclr,roncain/coreclr,sjsinju/coreclr,rartemev/coreclr,jamesqo/coreclr,ZhichengZhu/coreclr,James-Ko/coreclr,JosephTremoulet/coreclr,shahid-pk/coreclr,JonHanna/coreclr,JonHanna/coreclr,sjsinju/coreclr,AlexGhiondea/coreclr,jhendrixMSFT/coreclr,neurospeech/coreclr,josteink/coreclr,JosephTremoulet/coreclr,ZhichengZhu/coreclr,martinwoodward/coreclr,schellap/coreclr,cmckinsey/coreclr,cshung/coreclr,AlexGhiondea/coreclr,jamesqo/coreclr,rartemev/coreclr,alexperovich/coreclr,AlexGhiondea/coreclr,ramarag/coreclr,cydhaselton/coreclr,pgavlin/coreclr,pgavlin/coreclr,neurospeech/coreclr,KrzysztofCwalina/coreclr,neurospeech/coreclr,yizhang82/coreclr,wateret/coreclr,tijoytom/coreclr,James-Ko/coreclr,krytarowski/coreclr,rartemev/coreclr,gkhanna79/coreclr,hseok-oh/coreclr,James-Ko/coreclr,sjsinju/coreclr,sagood/coreclr,Dmitry-Me/coreclr,schellap/coreclr