[PATCH 3/5] d2d1: Fix a crash in DrawGeometry method family if no target is set.