NAND: rearrange ONFI revision checking, add ONFI 2.3