mesa: split error handling into its own file

Also add _mesa_vsnprintf.
7 files changed