Correct stack trace in ResourceLeakException

ResourceLeakException should report stack trace for leak creation path
(ResourceLeak.open()). Previousy stack trace for reportLeak() was
reported that was completely unrelated to path caused leak.