[Direct2D1] Fix invalid usage of "using" with new ComObject model