Update Perl versions.

Fixes https://github.com/travis-ci/travis-ci/issues/2649