[wayland_common] Reduce headers inter-dependency

Reduces build times and hopefully also fixes occasional build failures.