libavdevice/gdigrab: fix capture of windows with non-ASCII titles