Prior to this commit, ApplicationContext caching support was broken if two Bean Override fields declared the same annotations but in a different order. This commit fixes that by switching to Set semantics for the annotations declared on a Bean Override field. Closes gh-33633