[wayland_common] Reduce headers inter-dependency

Reduce build times and hopefully also occasional build failures.