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.
28 jobs for zone-forward-ng
in 6 minutes and 59 seconds and was queued for 3 seconds