CVE-2024-49945 net/ncsi: Disable the ncsi work before freeing the associated structure