[corlib] Fix localized resource loading bug (#14987)

We shouldn't share non-existent resources between resource
managers since different resources can have different localizations.