Fixing an issue with Diff::LCS.lcs.

- Only on 1.8.7. Found by travis-ci.org.