Cleanup FQName usage.

Bug: 32559427
Test: hidl_test
Change-Id: Ie5e234c102f8ad76ab24db9bce1630e2227562f6
diff --git a/Coordinator.cpp b/Coordinator.cpp
index 5ff5381..f2bab30 100644
--- a/Coordinator.cpp
+++ b/Coordinator.cpp
@@ -62,7 +62,7 @@
 
     if (fqName.name() != "types") {
         // Any interface file implicitly imports its package's types.hal.
-        FQName typesName(fqName.package(), fqName.version(), "types");
+        FQName typesName = fqName.getTypesForPackage();
         typesAST = parse(typesName, parsedASTs);
 
         // fall through.