compile_mesa: export PKG_COFIG_PATH instead

This will be needed for rebuilding dependencies
compile_mesa: add few more exports and dir paths, all will be needed when support for compiling dependencies will be added
compile_mesa: reorganize code
compile_mesa: also update dependencies (libdrm, libclc and llvm) when UPDATE_DEPS is set