mtd: OneNAND: Fix test of unsigned in onenand_otp_walk()