libnetworking: Fix the sethostname decl to match newlib.