JVET-X0156: Fix histogram of gradient generation issue when angle is diagonal
Fix histogram of gradient generation issue when angle is diagonal as proposed in X0156
Edited by Vadim Seregin
Fix histogram of gradient generation issue when angle is diagonal as proposed in X0156