fix resource leaks - issues 1034, 1038, 1040. Thanks to Martin Ettl

git-svn-id: http://tesseract-ocr.googlecode.com/svn/trunk@920 d0cd1f9f-072b-0410-8dd7-cf729c803f20
fix OpenCL build on OSX 10.9; add info about OpenCL to 'tesseract -v'

git-svn-id: http://tesseract-ocr.googlecode.com/svn/trunk@921 d0cd1f9f-072b-0410-8dd7-cf729c803f20