tests: Don’t use install kwarg to configure_file(); it doesn’t exist
Wrap the configure_file() in an if statement instead. This is a follow-up to commit d0f0de20.
See https://github.com/mesonbuild/meson/issues/3983.
Signed-off-by: Philip Withnall withnall@endlessm.com