mtd: rfd_ftl: fix use-after-free