Nikolay Sivov : d2d1: Improve GetDC()/ReleaseDC() handling on render targets.