Move AppContext.CoreCLR.cs to shared, remove static ctor (#26045)