fix segfault on log

`host_name` is a `ngx_str_t`. If you want to pass it to `ngx_snprintf` as `%V`, we need to actually pass the structure, not just the char* inside.