Config quarkus.config.locations is evaluated before applying profile
### Describe the bug

Hello,

the config `quarkus.config.locations` is evaluated before applying the profile.

~~~
quarkus.config.locations=file1.properties
%test.quarkus.config.locations=file1.properties,file2.properties
~~~

Launching tests, the "Test" profile is activated AFTER the `quarkus.config.locations` property being read. Thus `file2.properties` is not getting loaded.

But if you read the property via `@ConfigProperty(name = "quarkus.config.locations")`, the value is correct.

### Expected behavior

`%test.quarkus.config.locations` should be evaluated during tests

### Actual behavior

the default `quarkus.config.locations` property is evaluated

### How to Reproduce?

The bug is not reproducible using `@ConfigProperty(name = "quarkus.config.locations")`, that way the property is correctly read.

In order to reproduce you need to read a property declared in the not-loaded-config-file.

### Output of `uname -a` or `ver`

_No response_

### Output of `java -version`

17.0.1

### GraalVM version (if different from Java)

_No response_

### Quarkus version or git rev

2.8.0

### Build tool (ie. output of `mvnw --version` or `gradlew --version`)

3.8.4

### Additional information

_No response_
diff --git a/core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigUtils.java b/core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigUtils.java
index 890376d39b1..5923c5c8492 100644
--- a/core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigUtils.java
+++ b/core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigUtils.java
@@ -142,6 +142,8 @@ public ConfigSourceInterceptor getInterceptor(final ConfigSourceInterceptorConte
                 if (profileValue != null) {
                     List<String> profiles = ProfileConfigSourceInterceptor.convertProfile(profileValue.getValue());
                     for (String profile : profiles) {
+                        relocations.put("%" + profile + "." + SMALLRYE_CONFIG_LOCATIONS,
+                                "%" + profile + "." + "quarkus.config.locations");
                         relocations.put("%" + profile + "." + SMALLRYE_CONFIG_PROFILE_PARENT,
                                 "%" + profile + "." + "quarkus.config.profile.parent");
                     }
['core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigUtils.java']