Fix git-svn on Yosemite (which uses Perl 5.18)

git-svn stops working on Yosemite because it is unable to find the
SVN::Core module.

This should fix issue #31310.
Just go for `/\d\.\d+/.match(`perl --version`)`