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 4 minutes and 20 seconds (queued for 8 seconds)