lexer: fix overzealous circular checks
lexer: fix overzealous circular checks

If we include the same file multiple times, we could hit this
when we should be fine to recursively include.

GNOME/template-glib,chergert/template-glib