[WFLY-3061] Check JMX subsystem is actually available before setting dep...

...endencies on JMX MBean server

https://issues.jboss.org/browse/WFLY-3061