ISPN-4829 OsgiClassLoader.getInstance() is not thread-safe

https://issues.jboss.org/browse/ISPN-4829