Enable jolokia only if JMX is enabled

- Make `endpoints.jolokia.enabled` use XD_JMX_ENABLED flag so that
JolokiaAutoConfiguration is disabled if XD_JMX_ENABLED is set to false