Add lz4diff routines am: ee481e4ce1 am: dd232b56ac am: ffeded9ed6

Original change: https://android-review.googlesource.com/c/platform/system/update_engine/+/1930679

Change-Id: Ic0fa27c17544459b58c3a10081605c02189cfa85