Halide: link curses for LLVM terminfo dependency
Halide: update timing_prefix to allocate output

infer_input_bounds interface changed. It should allocate outputs,
but currently doesn't. Duplicate the corresponding logic in the
timing_prefix.
Merge branch 'master' of https://github.com/jansel/opentuner
Merge pull request #21 from jrk/master

Update Halide tuner to latest