tests: expose variables in meson.build

pygobject uses sources from gi's tests folder to build libraries to test against, with autotools it worked by obtaining gidatadir from pkg-config, but this is explicitly prevented by meson's sandbox when gi is built as a subproject.

Merge request reports