dex2oat: don't prune dex if passed as FD am: 59edf4b8f0 am: 850832b63c

Original change: https://android-review.googlesource.com/c/platform/art/+/1740256

Change-Id: Ic381f8cfd683d8f447f5783f7f87b6a962111040