[9.18] Fix a data race in dns__catz_update_cb()

Backport of !7726 (merged).

Closes #3968 (closed)

Edited by Arаm Sаrgsyаn

Merge request reports