mtest: Chdir into the build directory before running tests with -C
mtest: Chdir into the build directory before running tests with -C

When `ninja -C builddir/ test` is run, ninja will change into the build
dir before starting, but `meson test -C builddir/` does not. This is
important because meson does not use (for good reasons) absolute paths,
which means if a test case needs to be passed as an argument a file name
that is part of the build process, it will be relative builddir. Without
changing into the builddir the path will not exist (or worse, point at
the wrong thing), and test will not behave as intended.

To fix this mtest will change directory before starting tests, and will
change back after all tests have been finished.

Fixes #2710

trhd/meson,jpakkane/meson,pexip/meson,thiblahute/meson,thiblahute/meson,jeandet/meson,becm/meson,pexip/meson,becm/meson,trhd/meson,ernestask/meson,MathieuDuponchelle/meson,trhd/meson,mesonbuild/meson,thiblahute/meson,becm/meson,MathieuDuponchelle/meson,jpakkane/meson,MathieuDuponchelle/meson,jpakkane/meson,thiblahute/meson,QuLogic/meson,MathieuDuponchelle/meson,pexip/meson,ernestask/meson,MathieuDuponchelle/meson,thiblahute/meson,pexip/meson,ernestask/meson,jpakkane/meson,jeandet/meson,trhd/meson,mesonbuild/meson,QuLogic/meson,jpakkane/meson,jeandet/meson,MathieuDuponchelle/meson,MathieuDuponchelle/meson,jeandet/meson,ernestask/meson,becm/meson,QuLogic/meson,thiblahute/meson,jeandet/meson,QuLogic/meson,becm/meson,thiblahute/meson,mesonbuild/meson,ernestask/meson,trhd/meson,ernestask/meson,jpakkane/meson,mesonbuild/meson,jeandet/meson,QuLogic/meson,pexip/meson,becm/meson,pexip/meson,mesonbuild/meson,QuLogic/meson,jpakkane/meson,jpakkane/meson,ernestask/meson,QuLogic/meson,ernestask/meson,ernestask/meson,jeandet/meson,becm/meson,QuLogic/meson,jpakkane/meson,thiblahute/meson,becm/meson,trhd/meson,jeandet/meson,becm/meson,MathieuDuponchelle/meson,mesonbuild/meson,pexip/meson,pexip/meson,jeandet/meson,trhd/meson,trhd/meson,trhd/meson,pexip/meson,mesonbuild/meson,mesonbuild/meson,MathieuDuponchelle/meson,QuLogic/meson,mesonbuild/meson,pexip/meson,thiblahute/meson,mesonbuild/meson,becm/meson