libc/locale: Add __collate_equiv_value functionality