Fixes to print to handle constant strings correctly. Add full coverage
and validation to test. Depends on halide_printf calling halide_print
on all platforms, which I think is the case.