Disable __local memory when the device does not have CL_LOCAL support for it.

ARM Mali
Cosmetic: Use cv::Mat instead of vector, dump descriptors to files on error.