Minimal fix for merging jars with dir entries

Minimal fix for merging jars to avoid dir entries. When merging
jars we now skip directory entries; it was causing issues
when running benchmarks with --mode app_process for entries
like "com/".

Testing:
vogar --mode app_process --benchmark \
    frameworks/base/core/tests/benchmarks/src/com/android/internal/net/NetworkStatsFactoryBenchmark.java

make vogar-tests
java -cp ./out/host/linux-x86/framework/vogar-tests.jar \
     org.junit.runner.JUnitCore vogar.AllTests

Bug: 129449556
Test: See above
Change-Id: I38d4ba88c127d0aca5117acc301966d358a20e76
1 file changed