Small fix to IntrusivePtr logic that fixes a crash bug when free
overwrites freed memory with bad ptrs.
Merge branch 'master' of https://github.com/halide/Halide