Fixed leak of GPU buffer object.
Added halide_release implementation to non-gpu targets.
Image destroyed before halide_release is called, allowed none for non-GPU targets.
Fixed leak of program objects for multiple calls to halide_init_kernels/halide_release.