Fixes an out of memory error found when attempting to store the bad block table in nand flash for chips that have large (128K) block sizes. Generated by Tom Basterash