[PATCH v6 3/3] d2d1: Acquire lock before attempt to draw to device context