Fixed #4227: correct a bug in CCTIFFReader.js for advanced compile.

Correct a bug in CCTIFFReader.js for advanced compile.