gobject-introspection: look for .girs under HOMEBREW_PREFIX

Fixes #18703.