ISPN-4494 OSGi tests fail on jdk8

Disable the OSGi tests when running on jdk8 and jdk9.

https://issues.jboss.org/browse/ISPN-4494