[CAMEL-7218] Rolled back PlatformHelper usage on the behalf of the old OSGi detection code.