lit: Don't use python 2.6 features

LLVM supports python 2.5, this fixes a (somewhat) recent regression.