[PATCH 4.14 138/323] memory: gpmc: fix out of bounds read and dereference on gpmc_cs[]