make resolver->zspill atomic to prevent potential deadlock

(cherry picked from commit 62abb6aa)
67 jobs for !2765 with 1486-threadsanitizer-lock-order-inversion-potential-deadlock-dns_resolver_createfetch-vs-v9_14 in 42 minutes and 17 seconds (queued for 3 seconds)
merge request