Geanylatex: remove useless check

This was found by cppcheck. freeing NULL is always safe.