lavfi/histeq: fix out of array write

Signed-off-by: Paul B Mahol <onemda@gmail.com>