Use RevWalk(repo) constructor instead of RevWalk(ObjectReader)

Simplifies methods which do not otherwise use an ObjectReader.