.gitconfig: handle explicit base in alias.ri

Add support for telling git ri (rebase interactive) an explicit base
commit.  If rev-parse can parse the argument, use it verbatim
otherwise fall back to the existing behaviour (which expects the
number of commits to rebase).