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