Fix app image generation and checking with shared libraries.

We can now have multiple class loaders in an app image.

bug: 111174995
Test: dex2oat_test, test.py

Change-Id: Ie45c030b483efa78df2605fbcafb4e641b80c59a
diff --git a/dex2oat/linker/image_test.h b/dex2oat/linker/image_test.h
index 9ef2875..1186669 100644
--- a/dex2oat/linker/image_test.h
+++ b/dex2oat/linker/image_test.h
@@ -219,6 +219,7 @@
                                                       storage_mode,
                                                       oat_filename_vector,
                                                       dex_file_to_oat_index_map,
+                                                      /*class_loader=*/ nullptr,
                                                       /*dirty_image_objects=*/ nullptr));
   {
     {