Fix DelSA test due to invalid comparison

Was previously comparing between address family and IP version `6`, where
it should have been comparing `version == 6` or `family == AF_INET6`.
Changed to use version for consistency with other tests.

Bug: 71875990
Test: Tests updated, and ran on marlin + sailfish
Change-Id: I7f8b4523451871bec4480345b18e0b09b383021c
diff --git a/server/XfrmControllerTest.cpp b/server/XfrmControllerTest.cpp
index a588cc5..63cf671 100644
--- a/server/XfrmControllerTest.cpp
+++ b/server/XfrmControllerTest.cpp
@@ -437,9 +437,10 @@
 }
 
 TEST_P(XfrmControllerParameterizedTest, TestIpSecDeleteSecurityAssociation) {
-    const int family = (GetParam() == 6) ? AF_INET6 : AF_INET;
-    const std::string localAddr = (family == 6) ? LOCALHOST_V6 : LOCALHOST_V4;
-    const std::string remoteAddr = (family == 6) ? TEST_ADDR_V6 : TEST_ADDR_V4;
+    const int version = GetParam();
+    const int family = (version == 6) ? AF_INET6 : AF_INET;
+    const std::string localAddr = (version == 6) ? LOCALHOST_V6 : LOCALHOST_V4;
+    const std::string remoteAddr = (version == 6) ? TEST_ADDR_V6 : TEST_ADDR_V4;
 
     NetlinkResponse response{};
     response.hdr.nlmsg_type = XFRM_MSG_ALLOCSPI;