mtd: cfi: remove unneeded NULL checks