Let --with-locales prune also built-in collator data

Effective in the DISABLE_DYNLOADING case.

Introduce a new gbuild macro gb_Helper_optional_locale.

Change-Id: I43eb39fa810f71cadb6bc6d5c117ae145629ecb9