build: Build gen_matypes and matypes.h from src/mesa.