Fix for Mali OpenCL

Also some (older) MLP and HOG cleanups.