test: Add test for CompactSize larger than MAX_SIZE value

bitcoin/bitcoin: PR #36853

The review is inconclusive; no findings were published.

Coverage details