SERVER-134356ClosedFixed
Reduce SlotBasedStageBuilder::buildGroup stack frame and max number of DocumentSource stages pushed to SBE
BF-46094 exposed a stack-overflow risk in recursive SBE aggregation lowering on ARM64 after the SERVER-110427 PGO profile refresh. The failing test constructs a legal 1,000-stage aggregation pipeline. Each $group is lowered through SlotBasedStageBuilder::buildGroup(), which recursively calls build() for the child. The PGO/BOLT layout change appears to move the optimized binary across the stack-use threshold; the failure surfaces in computeChildReqsForGroup()/PlanStageReqs::setResultObj() as a