devel/gobject-introspection: fix tests that fail during build
PR: 218453 Submitted by: rozhuk.im@gmail.com