This commit makes sure to check first if DynamicPropertySourceBeanInitializer has been registered before trying to register it. When running with AOT optimizations, the bean definition has been contributed so there is no need to register it again when the context customizer runs. Closes gh-33272