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