Fix recursive inlining of PInvoke stubs (#18737)
Fix recursive inlining of PInvoke stubs (#18737)

PInvoke stubs can be inlined into a regular methods in CoreRT. PInvoke transition
has to be inlined as well when that happens. Otherwise, there is a risk of recursive
inlining in corner cases.
poizan42/coreclr,cshung/coreclr,cshung/coreclr,mmitche/coreclr,poizan42/coreclr,cshung/coreclr,cshung/coreclr,krk/coreclr,wtgodbe/coreclr,cshung/coreclr,krk/coreclr,wtgodbe/coreclr,krk/coreclr,mmitche/coreclr,mmitche/coreclr,wtgodbe/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,wtgodbe/coreclr,poizan42/coreclr,poizan42/coreclr,mmitche/coreclr,mmitche/coreclr,wtgodbe/coreclr,krk/coreclr,wtgodbe/coreclr,poizan42/coreclr,poizan42/coreclr,mmitche/coreclr