Only allocate a mark stack if we're actually doing marking