Change ref count logic in halide_release to take into account that the command queue holds a reference to the context.
Change ref count logic in halide_release to take into account
that the command queue holds a reference to the context.

Add extra debug output to copy_to_host to print buf ptr.

ronen/Halide,mcanthony/Halide,adasworks/Halide,ronen/Halide,damienfir/Halide,gchauras/Halide,tdenniston/Halide,damienfir/Halide,rodrigob/Halide,fengzhyuan/Halide,myrtleTree33/Halide,gchauras/Halide,smxlong/Halide,lglucin/Halide,myrtleTree33/Halide,gchauras/Halide,ayanazmat/Halide,mcanthony/Halide,adasworks/Halide,dougkwan/Halide,aam/Halide,ayanazmat/Halide,psuriana/Halide,smxlong/Halide,rodrigob/Halide,jiawen/Halide,fengzhyuan/Halide,mcanthony/Halide,kgnk/Halide,ronen/Halide,myrtleTree33/Halide,aam/Halide,mcanthony/Halide,fengzhyuan/Halide,mcanthony/Halide,smxlong/Halide,dougkwan/Halide,delcypher/Halide,mcanthony/Halide,kenkuang1213/Halide,delcypher/Halide,smxlong/Halide,dan-tull/Halide,damienfir/Halide,damienfir/Halide,ronen/Halide,gchauras/Halide,ayanazmat/Halide,psuriana/Halide,delcypher/Halide,fengzhyuan/Halide,smxlong/Halide,jiawen/Halide,myrtleTree33/Halide,smxlong/Halide,tdenniston/Halide,ronen/Halide,adasworks/Halide,mcanthony/Halide,fengzhyuan/Halide,adasworks/Halide,jiawen/Halide,dan-tull/Halide,kenkuang1213/Halide,fengzhyuan/Halide,tdenniston/Halide,dan-tull/Halide,lglucin/Halide,kgnk/Halide,kgnk/Halide,delcypher/Halide,tdenniston/Halide,delcypher/Halide,jiawen/Halide,dougkwan/Halide,rodrigob/Halide,rodrigob/Halide,delcypher/Halide,fengzhyuan/Halide,delcypher/Halide,jiawen/Halide,ayanazmat/Halide,ronen/Halide,psuriana/Halide,adasworks/Halide,aam/Halide,aam/Halide,adasworks/Halide,lglucin/Halide,kenkuang1213/Halide,kenkuang1213/Halide,damienfir/Halide,rodrigob/Halide,delcypher/Halide,dan-tull/Halide,dan-tull/Halide,gchauras/Halide,gchauras/Halide,smxlong/Halide,rodrigob/Halide,dougkwan/Halide,dougkwan/Halide,ayanazmat/Halide,damienfir/Halide,dan-tull/Halide,dougkwan/Halide,lglucin/Halide,damienfir/Halide,ronen/Halide,myrtleTree33/Halide,psuriana/Halide,rodrigob/Halide,kgnk/Halide,smxlong/Halide,dougkwan/Halide,kgnk/Halide,kenkuang1213/Halide,tdenniston/Halide,lglucin/Halide,kgnk/Halide,tdenniston/Halide,aam/Halide,ayanazmat/Halide,lglucin/Halide,ayanazmat/Halide,psuriana/Halide,jiawen/Halide,myrtleTree33/Halide,fengzhyuan/Halide,kenkuang1213/Halide,aam/Halide,dan-tull/Halide,kenkuang1213/Halide,lglucin/Halide,ronen/Halide,tdenniston/Halide,tdenniston/Halide,ayanazmat/Halide,adasworks/Halide,psuriana/Halide,dan-tull/Halide,myrtleTree33/Halide,damienfir/Halide,kgnk/Halide,mcanthony/Halide,aam/Halide,kgnk/Halide,jiawen/Halide,kenkuang1213/Halide,rodrigob/Halide,adasworks/Halide,dougkwan/Halide,psuriana/Halide,myrtleTree33/Halide