[U-Boot] [PATCH v2] NAND: fixed bugs in nand_[read, write]_skip_bad()