External Semantic Memory as a Cognitive Layer for Large Language Models