Both use 008/11="a" (Library of Congress Subject Headings), but LCGNF (example record) also uses 040 $f="lcgft", so it can be detected in the normal way.
LCCN (example record, however, is missing 040 $f, so mc2skos currently use the URI pattern of LCSH and assigns skos:inScheme <http://id.loc.gov/authorities/subjects> rather than skos:inScheme <http://id.loc.gov/authorities/names>