Fix ocl::haar's problems caused by merge.

The interfaces are also simplified.