wine: apply upstream patch for 10.9

Closes #21791.