CVE-2025-40178 pid: Add a judgment for ns null in pid_nr_ns