Bug 1015255 - Don't leak other localizations during buildtime optimization

https://bugzilla.mozilla.org/show_bug.cgi?id=1015255