Support sparse images in map_file_generator

Some targets sparse system images in $OUT dir, when such images are
detected, unsparse them using libsparse.

Test: th, map_file_generator on a sparse image
Bug: 281960439
Change-Id: I3582c6ace36205079050f137aa17afdea682bca3
diff --git a/Android.bp b/Android.bp
index b3634f3..a466f93 100644
--- a/Android.bp
+++ b/Android.bp
@@ -1335,6 +1335,7 @@
         "libpayload_extent_ranges",
         "libpayload_extent_utils",
         "libgflags",
+        "libsparse",
         "update_metadata-protos",
     ],
 }