video: deal with 0x0 window size

If this happens, don't set a NaN aspect ratio.
w32_common: reset internal display size to the window size

vo->dwidth/dheight are overwritten by vo.c at this point (which is not
nice, but it's how things are currently).