Fix warning in Coverity.
Fix warning in Coverity.

The warning was caused by the use of strcmp with a string returned by readlink, which doesn't guarantee that the string is null-terminated. In this case the use of strcmp is not required as we are checking only one character.

pombredanne/yara,hillu/yara,VirusTotal/yara,wxsBSD/yara,pombredanne/yara,pombredanne/yara,hillu/yara,wxsBSD/yara,wxsBSD/yara,hillu/yara,VirusTotal/yara,wxsBSD/yara,VirusTotal/yara,VirusTotal/yara,pombredanne/yara,wxsBSD/yara,hillu/yara,VirusTotal/yara,pombredanne/yara,hillu/yara