layout: Actually calculate restyle damage while styling.

...oops. Looks like I forgot to do this.

r? @pcwalton
Why not just `let style = &mut layout_data.shared_data.style`?