Move hints registration to spring-beans, where the actual behavior is implemented. We chose not to move this to `AutowiredAnnotationBeanPostProcessor` for now, as this would require it to implement another AOT-related interface and add too much noise for this. See gh-28614