Prefer forward-compatible API in perf tests

tx.getVertex("foo", 42L) is going away in titan05, but
Iterables.getOnlyElement(tx.getVertices("foo", 42L)) is functionally
equivalent and exists in both master and titan05.