[PATCH 6/7] d2d1: Improve GetDC()/ReleaseDC() handling on render targets.