Meson: Remove lib prefix from graw and osmesa when building with Mingw.

Also remove version sufix from osmesa swrast on Windows.

v2: Make sure we don't remove lib prefix on *nix platforms.

Signed-off-by: Prodea Alexandru-Liviu <liviuprodea@yahoo.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>

Cc: "19.3" <mesa-stable@lists.freedesktop.org>
48 jobs for !2496 with filename-fixes in 36 minutes and 16 seconds (queued for 5 seconds)
detached
Status Job ID Name Coverage
  Container
passed #906874
debian-10:amd64

00:00:15

passed #906876
aarch64
debian-10:arm64

00:00:21

passed #906877
aarch64
debian-10-test:arm64

00:00:22

passed #906875
debian-9:amd64

00:00:24

passed #906873
lava-container:arm64

00:00:22

passed #906872
lava-container:armhf

00:00:20

 
  Build
passed #906879
lava-build:arm64

00:03:40

passed #906878
lava-build:armhf

00:04:50

passed #906882
aarch64
meson-arm64

00:09:19

passed #906881
aarch64
meson-armhf

00:06:20

passed #906884
meson-clang

00:05:29

passed #906887
meson-clover

00:06:37

passed #906888
meson-clover-old-llvm

00:04:39

passed #906890
meson-i386

00:04:37

passed #906880
meson-main

00:10:26

passed #906891
meson-mingw32-x86_64

00:04:08

passed #906883
meson-swr-glvnd

00:02:08

passed #906889
meson-vulkan

00:04:33

passed #906892
scons

00:09:52

passed #906893
scons-old-llvm

00:07:07

passed #906885
scons-swr

00:06:04

passed #906886
scons-win64

00:05:27

 
  Test
passed #906916
db410c
arm64_a306_gles2 1/4

00:03:58

passed #906917
db410c
arm64_a306_gles2 2/4

00:04:44

passed #906918
db410c
arm64_a306_gles2 3/4

00:04:07

passed #906919
db410c
arm64_a306_gles2 4/4

00:04:13

passed #906905
mesa-cheza
arm64_a630_gles2

00:04:20

passed #906906
mesa-cheza
arm64_a630_gles31 1/4

00:04:54

passed #906907
mesa-cheza
arm64_a630_gles31 2/4

00:04:50

passed #906908
mesa-cheza
arm64_a630_gles31 3/4

00:05:44

passed #906909
mesa-cheza
arm64_a630_gles31 4/4

00:04:43

passed #906910
mesa-cheza
arm64_a630_gles3 1/6

00:03:58

passed #906911
mesa-cheza
arm64_a630_gles3 2/6

00:04:04

passed #906912
mesa-cheza
arm64_a630_gles3 3/6

00:03:28

passed #906913
mesa-cheza
arm64_a630_gles3 4/6

00:04:06

passed #906914
mesa-cheza
arm64_a630_gles3 5/6

00:03:25

passed #906915
mesa-cheza
arm64_a630_gles3 6/6

00:04:16

passed #906894
lava-rk3288-veyron-jaq
panfrost-t760-test:armhf

00:05:19

passed #906895
lava-rk3399-gru-kevin
panfrost-t860-test:arm64

00:05:11

passed #906896
test-llvmpipe-gles2 1/4

00:03:42

passed #906897
test-llvmpipe-gles2 2/4

00:05:44

passed #906898
test-llvmpipe-gles2 3/4

00:03:30

passed #906899
test-llvmpipe-gles2 4/4

00:02:34

passed #906900
test-softpipe-gles2 1/4

00:01:49

passed #906901
test-softpipe-gles2 2/4

00:02:15

passed #906902
test-softpipe-gles2 3/4

00:01:05

passed #906903
test-softpipe-gles2 4/4

00:01:47

passed #906904
test-softpipe-gles3-limited

00:04:05