Alexandre Julliard : gdi32: Avoid calling get_dc_ptr on a null handle.