[PATCH 5.9 123/757] media: vivid: Fix global-out-of-bounds read in precalculate_color()