Add --enable-compact-entries to aapt2 convert

Currently, when we run the resource shrinker we will do:
 - Convert apk from binary to proto
 - Do resource shrinking
 - Convert shrunken proto format apk back to binary

The original apk is linked with --enable-compact-entries (which we generally set on platform)
but the flag is not available when converting, so the last conversion step will not use the compact mode

Bug: 294016857
Test: tableflattener tests already cover these, this is just a flag passed

Change-Id: If5f1336c5eb3736bc40db89cdefe6f1a9aa189dd
diff --git a/tools/aapt2/cmd/Convert.cpp b/tools/aapt2/cmd/Convert.cpp
index 7381a85..387dcfe 100644
--- a/tools/aapt2/cmd/Convert.cpp
+++ b/tools/aapt2/cmd/Convert.cpp
@@ -425,6 +425,7 @@
   if (force_sparse_encoding_) {
     table_flattener_options_.sparse_entries = SparseEntriesMode::Forced;
   }
+  table_flattener_options_.use_compact_entries = enable_compact_entries_;
   if (resources_config_path_) {
     if (!ExtractResourceConfig(*resources_config_path_, &context, table_flattener_options_)) {
       return 1;