GetArchive: Simplify RevWalk with try-with-resources

The RevWalk is not used during the BinaryResult "callback",
so this can be simplified to try-with-resources to parse the
commit, get its root tree, and then release the RevWalk.

Change-Id: I841d9239b59a09bbc85db295a3ee5e2868be330a
1 file changed