[PATCH v2 5/6] mf/tests: Avoid leaking D3D resources through IMFTrackedSample.