Don't destroy mctx and task pools until we are destroying zonemgr
The mctx, zonetask and loadtask pools were being destroyed in the shutdown function where in theory a dangling zone could be still attached to it.
Move the isc_mem_put() on the pools to the destroy() function.
Closes #3226 (closed)