[Libguestfs] [PATCH 12/16] tests/c-api: add a way to skip test when host and appliance differ