v3: Rebase, use HALFTONE for bilinear DPI scaling.
This also requires https://gitlab.winehq.org/wine/wine/-/merge_requests/5819 to fix problems in mouse events DPI, when DPI awareness is not globally enforced (without which this MR also does nothing).
DPI awareness enforcement can be disabled either by setting the DpiScalingVer registry value to non-zero, or with https://gitlab.winehq.org/rbernon/wine/-/commit/77a2de6742298bd50117576ad444.... (Note that explorer.exe might then need to be made DPI-aware with https://gitlab.winehq.org/rbernon/wine/-/commit/026399d306c187ad6209f75b60cf...).