HSEARCH-1724 Simplify access to ClassLoaderService

This is needed for the boot refactoring, the SearchFactory uncoupling from its SPI, and also avoids some map lookups during Query execution.

 - https://hibernate.atlassian.net/browse/HSEARCH-1724
wrong variable name