kernel: generic: 5.4: fix mtd concat panic on read/write functions