[PATCH 5.10 529/717] Input: cyapa_gen6 - fix out-of-bounds stack access