[WFLY-1694] Remove references to OSGi from build-modular

https://issues.jboss.org/browse/WFLY-1694