[PATCH 5.10 116/530] memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]