`AbstractTestContextBootstrapper` should resolve `ContextLoader` only once

While working on #31456, I noticed that AbstractTestContextBootstrapper unnecessarily resolves the ContextLoader twice when building default MergedContextConfiguration.

We should therefore revise the internals of AbstractTestContextBootstrapper to avoid that.