Avoid opening BCP jars if the corresponding FDs exist

With -Xbootclasspathfds, we already have the FD available in the
runtime. When loading a BCP oat, it also needs to check the
corresponding BCP jar. When the jar's FD is available, this change
avoids the open by path.

Bug: 187327262
Test: odrefresh --force-compile  # success
Test: strace  # no more open for such case

Change-Id: I8c488254d9bf923a2e181f578c9ed167cd75335c
5 files changed