build: Also make gjs-based tests conditional on introspection support

Since they use imports.gi.OSTree.