unitests: dont assume cc exists or is valid
unitests: dont assume cc exists or is valid

On illumos (and presumably Solaris, though I can't test) cc normally
points to Sun CC, which we don't support. So ensure that gcc is used
explicitly in that case.

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