net: dsa: mv88e6xxx: Correct check for empty list (CVE-2024-42224) | HOL Guard CVE