Immune: Improving Safety Against Jailbreaks in Multi-modal LLMs via Inference-Time Alignment