Updating RamUsageEstimator with changes related to LUCENE-5086: RamUsageEstimator causes AWT classes to be loaded by calling ManagementFactory#getPlatformMBeanServer