record version of xcb-proto in the generated files

This seems like it may be useful for debugging at some point. Also be smarter
about looking where xcb-proto is actually installed.