Modify AbstractBeanFactory to not acquire a global lock when creating
scoped-beans.