rev-list: fix --reverse interaction with --parents