[9.18] [CVE-2023-2828] Add test for dns_rbtdb overmem purging

Merged Tom Krizek requested to merge 4055-improve-the-overmem-cache-cleaning-test-9.18 into bind-9.18

Backport of MR !8141 (merged)

Closes #4055 (closed)

Merge request reports