Update MemoryLeakUtil.java

Classes from "com.sun.*" and "sun.*" packages should not be used
Ticket - https://issues.openmrs.org/browse/GCI-9