[scudo][standalone] Allow the release of smaller sizes

Initially we were avoiding the release of smaller size classes due to
the fact that it was an expensive operation, particularly on 32-bit
platforms. With a lot of batches, and given that there are a lot of
blocks per page, this was a lengthy operation with little results.

There has been some improvements since then to the 32-bit release,
and we still have some criterias preventing us from wasting time
(eg, 9x% free blocks in the class size, etc).

Allowing to release blocks < 128 bytes helps in situations where a lot
of small chunks would not have been reclaimed if not for a forced

Additionally change some `CHECK` to `DCHECK` and rearrange a bit the

I didn't experience any regressions in my benchmarks.

Differential Revision: https://reviews.llvm.org/D93141

GitOrigin-RevId: 1dbf2c96bce93e0a954806d9bdcafcb702a06672
3 files changed