Use short code snippet lifted from fpicker/source/win32/filepicker/VistaFilePickerImpl.cxx to get a suitable window handle. Should fix bnc#398822.