mtd: nand: add a helper to get the supported features for JEDEC