game: skip ents with NULL targetname in G_FindByTargetname functions