gdi32: Properly manage the driver stack during DC creation and deletion.