Address comments for XfrmController::Init

-Use a cleaner string comparison
-Add a check to the unit test

Bug: 74560705
Test: atest netd_integration_test
Merged-In: Ia1fe2b7691a904696baefb186a7233a681412263
Change-Id: Ia1fe2b7691a904696baefb186a7233a681412263
(cherry picked from commit ac62cbd5217ccda2364d5cf942db41f699637fe9)
2 files changed