Update `WebMvcAutoConfiguration` to deprecate the `ThemeResolver` bean to align with recent Spring Framework changes.