net-sysfs: initialize uid and gid before calling net_ns_get_ownership