[PATCH RFC 12/15] nand: Add spinand_ helper functions