[PATCH 5.12 144/677] memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]