Fix DXT3/5 buffer overflow.