* imgproc: fix BGR5x52GRAY tail for overlapping buffers (5.x)
- RGB5x52Gray rewinds its final block only when src/dst are disjoint,
replacing the ineffective src == dst check
- Move rgb2grayBuffersDisjoint() above RGB5x52Gray so it can be shared
- Add regression tests converting into a header aliasing the source for
BGR(A)2GRAY (8U/16U/32F) and BGR565/555 2GRAY, widths 1..100, IPP off
* imgproc(test): use theRNG() in gray alias test