Use weak dependency syntax for icu_locale dep on icu_pattern (#8397)