mtd: sm_ftl: fix NULL pointer warning