[9.18] "dnstap" system test fixes

Michał Kępień requested to merge 4240-dnstap-system-test-fixes-9.18 into bind-9.18

Backport of !8177 (merged)

The change applied by commit 67df78e5 is already present in v9.18.

Closes #4240 (closed)

Merge request reports