Remove dependency injection from GenSnapshot and AotBuilder and update tests to use FakeProcessManager