aoe: fix the potential use-after-free problem in aoecmd_cfg_pkts (CVE-2024-26898) | HOL Guard CVE