Use a bundled protocol definition struct

This is necessary for the X server to build if the protocol headers are
old, so that I can get testing on the CI.
5 jobs for extended-shm in 2 minutes and 8 seconds