tdf#135432 native-code: Add missing include for locales

While commit ed8bce1909f658d8e3d950f374931242f91ba811
("fix i18n constructors and android scripts", 2020-08-12)
had added the missing constructors to the native-code.py
script after commit 155c056b1d4674d5ff73bbb5e1ad1dcd1e6aae36
("i18npool: create instances with uno constructors",
2020-07-29), the include for the header containing the
corresponding 'WITH_LOCALE_*' defines was missing,
so expressions like

    #if WITH_LOCALE_ALL || WITH_LOCALE_ja

always evaluated to 0, effectively always keeping the
constructors from actually being included.

Therefore, add the missing 'config_locales.h' include.

Change-Id: Icb00e058cc67a6aedac825c122c151c222f40b43
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/100915
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
diff --git a/solenv/bin/native-code.py b/solenv/bin/native-code.py
index d0ebd314..b3a7828 100755
--- a/solenv/bin/native-code.py
+++ b/solenv/bin/native-code.py
@@ -809,6 +809,7 @@ print ("""/*
#include <config_features.h>
#include <config_fuzzers.h>
#include <config_gpgme.h>
#include <config_locales.h>
#include <osl/detail/component-mapping.h>
#include <string.h>