anv/query: Add a helper for writing a query pool result
anv/query: Add a helper for writing a query pool result

Reviewed-By: Lionel Landwerlin <9463032a5b99ffad10f36631678a833369a311b5@intel.com>

metora/MesaGLSLCompiler,metora/MesaGLSLCompiler,metora/MesaGLSLCompiler