Replace AtomicVector context visits with cursor-based enumeration and safe pinning. Add deterministic reentrancy and concurrent attach/detach regression tests.
Compatibility: contexts without the private pinning capability are rejected. Win32 WaitRegistration lifetime issues remain outside this commit.
(cherry picked from commit d808cfb538d8a65e24b42a86b89afd22d497b14b)
Every GDK title calls XGameRuntimeInitialize first and builds its async work on
XTaskQueue/XAsync. Add an xgameruntime.dll shim table for those, ahead of the
executable: XGameRuntimeInitialize/Uninitialize (reference counted),
XSystemGetDeviceType (Series X; LEONIDA_DEVICE_TYPE overrides) and
XSystemGetConsoleId (placeholder), plus the 23 XTaskQueue/XAsync functions.
XTaskQueue/XAsync come from microsoft/libHttpClient (MIT), copied unmodified
into third_party/xtaskqueue (task queue only, no HTTP stack); a small pch.h
stand-in lets them build alone. xgameruntime_test drives the table through
the shim registry the way a title boots. Nothing goes online.