ocl: fix for get string info from OpenCL
Merge pull request #1612 from alalek:ocl_fix_string_info