Fix stack marking when large allocation causes collect