GRIM/EMI: Fix segfault in Localizer constructor