Check for out of bounds reads in sun rasterfile decoder.