Merge pull request #12448 from lioncash/es Core/IOS/ES: Remove global system accessor in InitializeEmulationState()