Add a function to determine cow op size

This is useful for update-engine to run on-device size estimates.
For example, when user wants to turn off compression parameter
on demand.

Test: th
Change-Id: I1e9cca88dff2492feeada3edcf0da2eb5f9430cc
1 file changed