Extracted some logic to utils_default.cpp in order to make platform specific overriding easier

Test: manual - could install and remove an app. As this is
refactoring there is no need for automated tests.

Change-Id: Ia9321de6699c69fbb7cfa9cf43edde102d56d532
diff --git a/cmds/installd/Android.bp b/cmds/installd/Android.bp
index a6f77aa..37e1646 100644
--- a/cmds/installd/Android.bp
+++ b/cmds/installd/Android.bp
@@ -18,6 +18,7 @@
         "dexopt.cpp",
         "globals.cpp",
         "utils.cpp",
+        "utils_default.cpp",
         "view_compiler.cpp",
         ":installd_aidl",
     ],
@@ -191,6 +192,7 @@
         "globals.cpp",
         "otapreopt.cpp",
         "utils.cpp",
+        "utils_default.cpp",
         "view_compiler.cpp",
     ],