[RESEND][PATCH] omapdrm: fix missing check on list iterator