[PATCH 6.3 277/364] devlink: Fix crash with CONFIG_NET_NS=n