Fix --input-vdex in the presence of a compact dex file.

The vdex file can have a compact dex file and therefore shared data size
be non-zero.

Partial revert of:
https://android-review.googlesource.com/c/platform/art/+/1942514

Test: golem benchmarks
Bug: 170086509
Change-Id: I6ea964236362e97c74a159840b1c241f10d22922
1 file changed