otsu: some minor changes involving types

* int-array was used because of the BoofCV's function
ImageStatistics/histogram.
Minor changes on otsu-block; fixed a bug on otsu pix-win

* The result of otsu pix-win is now exactly the same of otsu-local
and just slight slower (probably because of boxing numbers).