protocol/swc.xml: Add a copyright section
Use wl_container_of instead of CONTAINER_OF

Since wayland-1.5, wl_container_of has defined behavior when called with
an uninitialized pointer for the "sample" argument.