wayland-surface: Only call process_damage when we have any damage

This fixes a crash when a client commits a surface
without attaching a buffer.