Fix crash when @position-try invalidates display:none
The expectation was that OutOfFlowData is nuked from a node when it is
no longer rendered, but that is not the case.
Null check LayoutObject before accessing it.
Bug: 377324991
Change-Id: I5984a8d528667dd95d73edba7c764fedd7c582fd
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6017885
Commit-Queue: Rune Lillesveen futhark@chromium.org
Reviewed-by: Morten Stenshorne mstensho@chromium.org
Cr-Commit-Position: refs/heads/main@{#1382313}