Check type of resolver_ctx->addrs.

Check the type of resolver_ctx->addrs and make sure that it is
ngx_addr_t* instead of in_addr_t*. addresses issue #839
Merge pull request #841 from pagespeed/crowell-tengine-stable-support

Check type of resolver_ctx->addrs.