mtd: cfi: Add support for status register polling