repack: move sbin to /system ramdisk and update repacking
for android-10

This will support updating the ramdisk to a different
compression format and co-exist with magisk.

We are also cleaning up and removing non android-10
api makefile actions.

We are also moving twrp repacking to its own class. We
check the new ramdisk format and if it's different
we have magisk compress using the new ramdisk format.

Change-Id: I770030aae7797e75817178b2f0fccd9f39dc23af
diff --git a/etc/init.recovery.ldconfig.rc b/etc/init.recovery.ldconfig.rc
index ad9c296..c99f802 100755
--- a/etc/init.recovery.ldconfig.rc
+++ b/etc/init.recovery.ldconfig.rc
@@ -1,2 +1,2 @@
 on fs
-    export LD_CONFIG_FILE /sbin/ld.config.txt
+    export LD_CONFIG_FILE /system/etc/ld.config.txt