Move profile dependent modules to libartbase

Move mem_map and zip_archive to libartbase.  This should be the last two
remaining modules that profile_compilation_info is dependent upon.

Bug: 22322814
Test: make -j 50 checkbuild
      make and boot a device

Change-Id: I136ee23e426aa8ec7441e3d3f1978f1bebf4b562
diff --git a/runtime/dex/art_dex_file_loader.cc b/runtime/dex/art_dex_file_loader.cc
index f3e6a69..415e451 100644
--- a/runtime/dex/art_dex_file_loader.cc
+++ b/runtime/dex/art_dex_file_loader.cc
@@ -26,11 +26,11 @@
 #include "base/stl_util.h"
 #include "base/systrace.h"
 #include "base/unix_file/fd_file.h"
+#include "base/zip_archive.h"
 #include "dex/compact_dex_file.h"
 #include "dex/dex_file.h"
 #include "dex/dex_file_verifier.h"
 #include "dex/standard_dex_file.h"
-#include "zip_archive.h"
 
 namespace art {
 
@@ -128,7 +128,7 @@
 
     do {
       if (zip_file_only_contains_uncompressed_dex != nullptr) {
-        if (!(zip_entry->IsUncompressed() && zip_entry->IsAlignedToDexHeader())) {
+        if (!(zip_entry->IsUncompressed() && zip_entry->IsAlignedTo(alignof(DexFile::Header)))) {
           *zip_file_only_contains_uncompressed_dex = false;
         }
       }