World Model Implanting for Test-time Adaptation of Embodied Agents