HSEARCH-1665 Race condition in DirectoryProviderHelper.initializeIndexIf...

...Needed leads to failure in concurrent bootstrap

 - https://hibernate.atlassian.net/browse/HSEARCH-1665