Minor histogram fixes for Mac

- Undo accidental comment-out of anonymous namespace around texiterator
tex reference
- Skip cleanup of allocated storage in default caching allocator on exit
(bus error on mac because the CUDA runtime is already gone)