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.