Record size metrics to our compaction and persistence spans (#94977)
Add data about persistence and compaction size to our spans
This will show up in trace data collected by `NEXT_TURBOPACK_TRACING`
and in the default trace spans collected by next.js