[9.18] Fix dns_kasp_attach / dns_kasp_detach usage
Backport of MR !7563 (merged)
The kasp pointers in dns_zone_t should consistently be changed by dns_kasp_attach and dns_kasp_detach so the usage is balanced.
(cherry picked from commit b41882cc)
Edited by Matthijs Mekking