bug fix: solve the core dumped when do resolver_handler in ngx_resolve_name

Signed-off-by: jason <liu_yt@neusoft.com>