cImage: Fix functions CountBlockedPixel, CountBlockedLineX. Add CountBlockedRectangle