compilers: Split msvc version code into helper
compilers: Split msvc version code into helper

ICL needs ot use some of this code, but not from it's own version
information.

jpakkane/meson,mesonbuild/meson,mesonbuild/meson,becm/meson,mesonbuild/meson,pexip/meson,QuLogic/meson,becm/meson,becm/meson,pexip/meson,QuLogic/meson,pexip/meson,pexip/meson,QuLogic/meson,becm/meson,QuLogic/meson,mesonbuild/meson,pexip/meson,jpakkane/meson,becm/meson,QuLogic/meson,jpakkane/meson,pexip/meson,jpakkane/meson,mesonbuild/meson,QuLogic/meson,becm/meson,mesonbuild/meson,jpakkane/meson,becm/meson,mesonbuild/meson,pexip/meson,QuLogic/meson,becm/meson,pexip/meson,mesonbuild/meson,mesonbuild/meson,jpakkane/meson,jpakkane/meson,pexip/meson,becm/meson,QuLogic/meson,QuLogic/meson,pexip/meson,mesonbuild/meson,jpakkane/meson,becm/meson,jpakkane/meson