SVN: fix issue with post-commit hook not working with xml patch

Thanks to Martin Schleußer for reporting and finding the solution to the
problem (missing typecast on revision when creating changeset object).

Fixes #70