NAND: Fix integer overflow in ONFI detection of chips >= 4GiB