[SPv2] Fix layout test crashes about raster invalidation

1. FrameView::SetTracksPaintInvalidations() may be called before
   FrameView::PrePaint(), so we need to create paint_controller_ if it
   is null, and check null paint_artifact_compositor_.

2. Previously when an old chunk is deleted, we still kept the tracked
   raster invalidations. When a new chunk was created at the same
   address, the new chunk inherited the old trackings.

BUG=644358
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
R=chrishtr@chromium.org

Review-Url: https://codereview.chromium.org/2874553002 .
Cr-Commit-Position: refs/heads/master@{#470997}
3 files changed