gdi32: Move freeing of the DC path and regions into free_dc_ptr.