Fix vs2019 optimization issue take 2 (dotnet/coreclr#27452)
* Revert "Fix the problem with the VS2019 fix on x86 (dotnet/coreclr#26957)"
This reverts commit dotnet/coreclr@
4081d86f221e6694f0dfd13b99e0d5b1045d2e89.
* Revert "Fix issue with locals overlapping out of scope GCFrame (dotnet/coreclr#26763)"
This reverts commit dotnet/coreclr@
6059e75e13593b0820e178f8baaace32c09aca6e.
* Fix VS2019 optimization issue take 2
* Stop using FrameWithCookie for GCFrame
* Removed call to SetHasPromotedBytes, the function, the field on
thread and its getter / setter as it is not used for anything.
* Updated ifdefs on GetGCFrame and GetFrame
Commit migrated from https://github.com/dotnet/coreclr/commit/
d815d217f1930c4443834db41f172474953ede9b