Instead of piping the protocol file content to wayland-scanner, pass the file name as an argument. This enables a new enough wayland-scanner to print more meaningful error messages. https://bugzilla.gnome.org/show_bug.cgi?id=769936