node: Don't ignore return value of setgid / setuid

* With activated hardening flags -Werror=unused-result breaks the build if
  return values are ignored