clean code that counts promoted implict byref argument occurrences. (#20113)
clean code that counts promoted implict byref argument occurrences. (#20113)

* clean code that counts promoted implict byref argument occurrences.

Move 3 copies of that code into one in `PreOrderVisit`. Run this check after we have made morph for fields and structs.

krk/coreclr,wtgodbe/coreclr,poizan42/coreclr,mmitche/coreclr,wtgodbe/coreclr,poizan42/coreclr,poizan42/coreclr,cshung/coreclr,krk/coreclr,cshung/coreclr,krk/coreclr,wtgodbe/coreclr,mmitche/coreclr,cshung/coreclr,mmitche/coreclr,poizan42/coreclr,poizan42/coreclr,krk/coreclr,wtgodbe/coreclr,mmitche/coreclr,cshung/coreclr,poizan42/coreclr,cshung/coreclr,cshung/coreclr,wtgodbe/coreclr,wtgodbe/coreclr,krk/coreclr,mmitche/coreclr,krk/coreclr,mmitche/coreclr