WFLY-3073 fix broken MBeanServer.createMBean() methods
Merge pull request #5999 from stuartwdouglas/WFLY-3073

WFLY-3073 fix broken MBeanServer.createMBean() methods