Add streaming support to LZ4 compress routine am: 760c334dfd am: f7357a4213

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

Change-Id: I150511e5d56a9f9d0677bd00d513f8d872a5424d