build: fix out of tree generation of glapi_mapi_tmp.h