dex2oat: don't prune dex if passed as FD

dex2oat prunes a dex file from its internal record if the file does not
exist on the file path. This change avoids the pruning in case if the
dex is passed as FD.

Bug: 186132447
Test: odrefresh --use-compilation-os=10 --force-compile
      # complete successfully with other changes
Test: TH
Change-Id: I7dd2f0d1e100e465c2424eb36cb2d94da1e69001
1 file changed