Change some malloc calls to VLA usage when __PENCIL__ is defined
Change unsupported code
Add some include gurads that were forgotten so far.
Backport shared-memory optimization and add for OpenCL 1.1 workaround

clEnqueueFillBuffer only available in OpenCL 1.2 - enqueue a fill_zeros
kernel when building with OpenCL 1.1
Enable queue profiling and track kernel computation time taken.
Fix code to work with the Mali OpenCL fix of the PENCIL headers
Cosmetic change
Make Dilate to work with ARM Mali GPU.

Added a patch to be applied against OpenCV 2.4.10, and restricted the
size parameter to a max of 7. (9 is too large for Mali.)
Also add some cosmetic changes.
MLP: Reduce work group size to run on ARM Mali
Fix dilate PENCIL code.