Prior to this commit, the `RestTemplateAdapter` would manually expand templated URIs. This means that the `RestTemplate` instance itself would never see the templated URIs and could not record it in the client observations at runtime. This commit ensures that when URI templates are available, the adapter uses the correct `exchange` method variant. Fixes gh-31144