Add non-stump based ocl Haar cascade classifier support.

Some problems related to buffers are also fixed.