server/scmapi.c: Use __func__ macro instead of SUBR_NAME.
scmapi.c: Move host updating to a separate function.

* server/scmapi.c (scm_update_host): Move host updating to a separate
  function.
  (update_host): New function.