[PATCH 5.4 329/453] Input: cyapa_gen6 - fix out-of-bounds stack access