Added error checking on halide_init_kernels.
Updated comments on halide_print and halide_error.