Add DynamicPartitionControl::EraseSystemOtherAvbFooter

Erase AVB footer of system other partition prior to any updates so that if
an update overwrites it partially, and the device rolled back (or even
before we finish writing the partition), and the device factory resets,
mapping system_other as /postinstall won't trigger verity errors and
reboots the device.

Bug: 152444348
Test: apply update, rollback, then FDR
Test: apply update, then set sys.cppreopt=requested; observe that
/postinstall cannot be mounted.

Change-Id: I62e5bb8f4c31d9a1beff485c47fc4b07a3a5686b
diff --git a/Android.bp b/Android.bp
index e3116f5..07eee63 100644
--- a/Android.bp
+++ b/Android.bp
@@ -211,6 +211,9 @@
         "android.hardware.boot@1.0",
         "android.hardware.boot@1.1",
     ],
+    header_libs: [
+        "avb_headers",
+    ],
     target: {
         recovery: {
             static_libs: [