libjpegrecoverymap: solve recovery map 8-pixel alignment

JPEG encoder requires width to be 8 aligned, and the recovery map is downsampled by 4, so that the JPEG/R encoder will require width to be 32 aligned, which is not ideal. We should handle widths that are 8 aligned but not 32 aligned.

Test: recoverymap_test
Bug: b/264715926
Change-Id: I74eaeec7c16f8f2621e72c067464897c8aba9d89
diff --git a/libs/jpegrecoverymap/Android.bp b/libs/jpegrecoverymap/Android.bp
index c9bed70..01318dc 100644
--- a/libs/jpegrecoverymap/Android.bp
+++ b/libs/jpegrecoverymap/Android.bp
@@ -39,6 +39,7 @@
         "libjpeg",
         "libjpegencoder",
         "libjpegdecoder",
+        "liblog",
     ],
 }