Do not build projects which lack proper hardware support in mesa
New hardware will require a minimum mesa version. When testing stable branches, test targets will be triggered even when mesa does not support the platform.
Previously, each build.py checked the mesa version and returned immediately if the hardware was not supported. Rather than implement the same check in dozens of components, unify the implementation in a single check.