llvm/test/BugPoint/compile-custom.ll.py: Make it py3-compatible. [PR19112]

FIXME: Get rid of invoking this.
I guess it wouldn't run on win32 due to lacking of shell support.