vo_corevideo: use dwidth/dheight for window dimensions

In the previous commit I wrongly used params->d_h/d_w which happened to work
by chance.