gtp: fix use-after-free and null-ptr-deref in gtp_newlink() (CVE-2024-26793) | HOL Guard CVE