Pass --disable-terminfo to LLVM's configure script. Closes #9334

The right way to link to terminfo varies by linux distribution, so
this is making our snapshots less compatible.
auto merge of #9399 : brson/rust/tinfo, r=thestinger

The right way to link to terminfo varies by linux distribution, so
this is making our snapshots less compatible.