Sysformer: Safeguarding Frozen Large Language Models with Adaptive System Prompts