Fix infinite loop for UOH allocations with hardlimit in Server GC (#38071)
In Server GC when we allocate UOH objects and decide whether we should retry
when hardlimit is in effect we have an inconsistency between should_retry_other_heap
and virtual_commit. The former uses current_total_committed - current_total_committed_bookkeeping while the latter uses current_total_committed.
This causes us to be in a situation where we may have an infinite loop
since the allocate_uoh says to retry but virtual_commit fails.