fix(types): restore brotli in CompressionFormat for dom/webworker libs (#34349)
The TypeScript 6.0.3 update (#32944) regenerated `lib.dom.d.ts` and
`lib.webworker.d.ts` from upstream and dropped the brotli patch we had
applied to `CompressionFormat`. Projects whose `compilerOptions.lib`
includes `dom` or `webworker` then fail to type-check
`new CompressionStream("brotli")`, even though Deno supports brotli at
runtime.
Type aliases can't be merged across lib files, so the patch has to live
in the vendored TypeScript libs themselves. To stop this from regressing
silently on the next upgrade, this also adds a small spec test that
runs `deno check` against `CompressionStream("brotli")` /
`DecompressionStream("brotli")` under the default, `dom`, and
`webworker` lib configurations.
Fixes #34324