Refactor compiler tests around CompilerDriver.

Introduce CommonCompilerDriverTest and inherit that in tests
that need to use CompilerDriver. This is in preparation for
moving the CompilerDriver to dex2oat/.

Test: m test-art-host-gtest
Change-Id: I46cf0bc1df4327569eef5526eeab0781473173a1
diff --git a/dex2oat/linker/image_test.h b/dex2oat/linker/image_test.h
index 6b56517..aa4fb70 100644
--- a/dex2oat/linker/image_test.h
+++ b/dex2oat/linker/image_test.h
@@ -34,7 +34,7 @@
 #include "base/unix_file/fd_file.h"
 #include "base/utils.h"
 #include "class_linker-inl.h"
-#include "common_compiler_test.h"
+#include "common_compiler_driver_test.h"
 #include "compiler_callbacks.h"
 #include "debug/method_debug_info.h"
 #include "dex/quick_compiler_callbacks.h"
@@ -73,7 +73,7 @@
   ~CompilationHelper();
 };
 
-class ImageTest : public CommonCompilerTest {
+class ImageTest : public CommonCompilerDriverTest {
  protected:
   virtual void SetUp() {
     ReserveImageSpace();