avdevice/dshow: satisfy alloc contract better