cache entry_list: fix crash on insertion via lua

When inserting NS or xNAME, we could get into this place with
qry == NULL, and we'd crash when trying to use the memory pool.
Let's simply use the stack instead.
25 jobs for zone-forward-ng
in 26 minutes and 5 seconds and was queued for 5 seconds