[wince] Two more Windows CE fixes

Report has it that it builds (and works) now:

  https://codereview.qt-project.org/#/c/92087/
2 files changed