build: Make g-ir-scanner warnings fatal when werror is set
This should help catching problems with introspection in CI.
Adapted from Sebastian Wick's corresponding mutter change in mutter!3528 (merged).
This should help catching problems with introspection in CI.
Adapted from Sebastian Wick's corresponding mutter change in mutter!3528 (merged).