Remove function call from for loop test part in GIFMetadataExtractor::readGCT()

Change-Id: Ia19ddc32212786d7050287c6e07748ea2213ed40