build: use the project version as product version in the windows resource file

And the API version as the file version.
21 jobs for master in 8 minutes and 10 seconds (queued for 1 second)
Status Job ID Name Coverage
  Style
passed #263904
debian amd64
style-check

00:00:27

 
  Build
passed #263905
debian amd64
build-debian

00:00:40

passed #263913
debian aarch64
build-debian-aarch64

00:01:27

passed #263914
debian aarch64
build-debian-aarch64-clang-5

00:01:00

passed #263917
debian armv7
build-debian-armv7

00:01:18

passed #263918
debian armv7
build-debian-armv7-clang-5

00:00:59

passed #263906
debian amd64
build-debian-static

00:00:39

passed #263916
debian aarch64
build-debian-werror

00:00:33

passed #263907
debian amd64
build-debian32

00:00:35

passed #263915
macos
build-macos

00:00:30

passed #263919
debian amd64 allowed to fail
build-ubuntu-snap

00:00:45

passed #263911
debian amd64
build-win-arm32

00:00:33

passed #263912
debian amd64
build-win-arm64

00:00:34

passed #263908
debian amd64
build-win32

00:00:40

passed #263909
debian amd64
build-win32-unaligned-stack

00:00:38

passed #263910
debian amd64
build-win64

00:00:51

 
  Test
passed #263920
debian amd64
test-debian

00:00:47

passed #263921
debian amd64
test-debian-asan

00:02:14

passed #263922
debian amd64
test-debian-msan

00:01:14

passed #263923
debian amd64
test-debian-ubsan

00:01:34

passed #263924
debian amd64
test-win64

00:00:48