[PATCH 4.19 179/287] gma500: fix an incorrect NULL check on list iterator