ipv6: sr: fix invalid unregister error path (CVE-2024-38612) | HOL Guard CVE