[PATCH 3/7] dmloader: Initialize ref to 1, and release after QueryInterface.